]> git.sur5r.net Git - bacula/bacula/commitdiff
Back out unwanted change. Should fix problem reported by Yuri
authorKern Sibbald <kern@sibbald.com>
Fri, 15 May 2009 19:53:16 +0000 (19:53 +0000)
committerKern Sibbald <kern@sibbald.com>
Fri, 15 May 2009 19:53:16 +0000 (19:53 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8834 91ce42f0-d328-0410-95d8-f526ca767f89

regress/scripts/config_dart

index 22e3bb9c34e1cf367f8f02f9e58b65cf54303ca5..264acb7731289040a116a70ea375e430f5eb6abb 100755 (executable)
@@ -3,21 +3,21 @@
 # Configure the dart files
 #
 cwd=`pwd`
+. ${cwd}/config
 
-mkdir -p ${bin}
-out="${tmp}/sed_tmp"
+mkdir -p ${cwd}/bin
+out="${cwd}/tmp/sed_tmp"
 
 # pull in latest Bacula version
-cd ${src}
+cd ${BACULA_SOURCE}
 svn update src/version.h
 cd ${cwd}
 
 scripts/create_sed
 
 
-if test -f ${cwd}/DartConfiguration.tcl.in ; then
-  sed -f ${out} ${cwd}/DartConfiguration.tcl.in >${cwd}/DartConfiguration.tcl
-  sed -f ${out} ${cwd}/DartTestfile.txt.in >${cwd}/DartTestfile.txt
-  sed -f ${out} ${cwd}/scripts/update-ctest.in >${cwd}/scripts/update-ctest
-  chmod +x ${cwd}/scripts/update-ctest
-fi
+sed -f ${out} ${cwd}/DartConfiguration.tcl.in >${cwd}/DartConfiguration.tcl
+sed -f ${out} ${cwd}/DartTestfile.txt.in >${cwd}/DartTestfile.txt
+
+sed -f ${out} ${cwd}/scripts/update-ctest.in >${cwd}/scripts/update-ctest
+chmod +x ${cwd}/scripts/update-ctest