This is because hudson wants to report the regress.log in any case
git-svn-id: http://svn.osgeo.org/postgis/trunk@8416
b70326c6-7e19-0410-871a-
916f4a2858ee
mkdir -p ${TMPDIR}
VERBOSE=0
+OPT_CLEAN=no
OPT_DROP=yes
OPT_CREATE=yes
OPT_WITH_TOPO=no
OPT_WITH_RASTER=yes
shift
continue
+ elif test "$1" = "--clean"; then
+ OPT_CLEAN=yes
+ shift
+ continue
else
break
fi
#echo "Successful: $SUCCESS"
echo "Failed: $FAIL"
-if [ $FAIL -eq 0 ]; then
+if test x"$OPT_CLEAN" = "xyes"; then
rm -f "${TMPDIR}/dumper.*"
rm -f "${TMPDIR}/loader.*"
rm -f "${TMPDIR}/regress_log"