From: Kern Sibbald Date: Sun, 12 Oct 2008 19:30:44 +0000 (+0000) Subject: Remove Linux from build name X-Git-Tag: Release-7.0.0~3975 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6c86a886a6f8ad82a5b13945a0c93eb2099f3330;p=bacula%2Fbacula Remove Linux from build name git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7771 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/scripts/create_sed b/regress/scripts/create_sed index 9e4e58699d..4683303a79 100755 --- a/regress/scripts/create_sed +++ b/regress/scripts/create_sed @@ -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`