db_name=${db_name:-"regress"}
db_user=${db_user:-"regress"}
db_password=${db_password:-""}
-# Drop Linux from OS to shorten name
-if test `uname -s` = "Linux"; then
+os=`uname -s`
+# Drop Linux or FreeBSD from OS to shorten name
+if test ${os} = "Linux" -o ${os} = "FreeBSD"; then
os=`./scripts/get-os`
else
- os=`uname -s`-`./scripts/get-os`
+ os=${os}-`./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`