Made all the tests respect the PSPP_TEST_NO_CLEANUP environment variable.
[pspp-builds.git] / tests / command / weight.sh
index 01bd0a318c5814b2056850c45573cfbffa2e20c2..6d90315652246bb061504b15db42a7d68880ec29 100755 (executable)
@@ -23,7 +23,10 @@ export LANG
 
 cleanup()
 {
-     if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then return ; fi
+     if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then 
+       echo "NOT cleaning $TEMPDIR"
+       return ; 
+     fi
      cd /
      rm -rf $TEMPDIR
 }