Use default encoding when reading system files if no encoding is given in file.
[pspp-builds.git] / tests / stats / moments.sh
index 947b4cd1d7afa382f31fac9161a1d942583b1ed2..89854285a0f0cde4fc9b7ad801a7db58e9970249 100755 (executable)
@@ -19,9 +19,12 @@ export STAT_CONFIG_PATH
 
 cleanup()
 {
+     if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then 
+       echo "NOT cleaning $TEMPDIR" 
+       return ; 
+     fi
      cd /
      rm -rf $TEMPDIR
-     :
 }