SourceDirectory: @srcdir@
BuildDirectory: @regressdir@
Site: @sitename@
-BuildName: bacula-@bversion@-@bdate@-@dbengine@-@os@
-DropMethod: xmlrpc
-DropSite: http://regress.bacula.org:8081
-DropLocation: Bacula
+BuildName: @bversion@-@bdate@-@dbengine@-@os@
+DropMethod: http
+DropSite: regress.bacula.org
+DropLocation: /submit.php?project=bacula
+DroptSiteCdash: true
+TriggerSite: http://regress.bacula.org
NightlyStartTime: 23:00:00 CET
MakeCommand: @regressdir@/scripts/update-ctest
ConfigureCommand: true
# Create the sed file for configuring everything
#
cwd=`pwd`
-. ${cwd}/config
+. ${cwd}/scripts/functions
mkdir -p ${cwd}/bin
mkdir -p ${cwd}/tmp
out="${cwd}/tmp/sed_tmp"
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`
+builddir="${cwd}/build"
# Create sed command script
echo "s%@sbindir@%${cwd}/bin%g" >${out}
echo "s%@db_name@%${db_name}%g" >>${out}
echo "s%@db_user@%${db_user}%g" >>${out}
echo "s%@db_password@%${db_password}%g" >>${out}
+echo "s%@builddir@%${builddir}%g" >>${out}