exit 1
fi
+MAKEOPTS=${MAKEOPT:-"-j3"}
+
+
# we build and setup binaries to the $cwd/bin directory not $bin
rm -rf build bin
# Copy new source
echo "s%File = @sbindir@%File = @BUILD_DIR@%g" >tmp/t$$
sed -f tmp/t$$ build/src/dird/bacula-dir.conf.in >tmp/o$$
cp tmp/o$$ build/src/dird/bacula-dir.conf.in
+
+# Now turn on DEVELOPER for regression testing
+echo "s%^.*define DEVELOPER 1.*$%#define DEVELOPER 1%g" >tmp/t$$
+sed -f tmp/t$$ build/src/version.h >tmp/o$$
+cp tmp/o$$ build/src/version.h
+
rm -f tmp/t$$ tmp/o$$
# remove unneeded directories
rm -rf build/txt build/src/testprogs
check_exit_code
# Cleanup any build in source
make clean
-make ${MAKEOPT:-""}
+make ${MAKEOPT}
check_exit_code
make install
-if [ a$KEEP_SOURCE = a ]; then
+if [ a${KEEP_SOURCE} = a ]; then
rm -rf examples patches
check_exit_code
# eliminate non-essential directories to reduce