Use default encoding when reading system files if no encoding is given in file.
[pspp-builds.git] / tests / bugs / if_crash.sh
index bda4a73c6c74cbf999e3c6230cf3e48b9144a218..4f07d30281e5173da39d667bd64efab363560e68 100755 (executable)
@@ -21,6 +21,10 @@ export STAT_CONFIG_PATH
 
 cleanup()
 {
+     if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then 
+       echo "NOT cleaning $TEMPDIR" 
+       return ; 
+     fi
      cd /
      rm -rf $TEMPDIR
 }