]> git.sur5r.net Git - bacula/bacula/commitdiff
Remove Linux from build name
authorKern Sibbald <kern@sibbald.com>
Sun, 12 Oct 2008 19:30:44 +0000 (19:30 +0000)
committerKern Sibbald <kern@sibbald.com>
Sun, 12 Oct 2008 19:30:44 +0000 (19:30 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7771 91ce42f0-d328-0410-95d8-f526ca767f89

regress/scripts/create_sed

index 9e4e58699dc090a3039cd0503dfec4d3ce4852a2..4683303a79d05559db1416bf570aa92a8424d098 100755 (executable)
@@ -20,7 +20,12 @@ sdport=`expr ${BASEPORT} '+' 2`
 db_name=${db_name:-"regress"}
 db_user=${db_user:-"regress"}
 db_password=${db_password:-""}
-os=`uname -s`-`./scripts/get-os`
+# Drop Linux from OS to shorten name
+if test `uname -s` = "Linux"; then
+  os=`./scripts/get-os`
+else
+  os=`uname -s`-`./scripts/get-os`
+fi
 dbengine=`echo ${WHICHDB} | sed -e 's/--with-//' -e 's/=.*//'`
 bversion=`sed -n -e 's/^.*VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
 bdate=`sed -n -e 's/^.*LSMDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`