Move global initialization and cleanup code into main.c.
[pspp] / tests / bugs / curtailed.sh
index a004ce590351fdf4113e23fa4374afaabc87ec9d..05d774702faa92060968b9ebb91169f8c5a9ea15 100755 (executable)
@@ -11,11 +11,13 @@ here=`pwd`;
 # ensure that top_srcdir is absolute
 cd $top_srcdir; top_srcdir=`pwd`
 
-export STAT_CONFIG_PATH=$top_srcdir/config
+STAT_CONFIG_PATH=$top_srcdir/config
+export STAT_CONFIG_PATH
 
 
 cleanup()
 {
+     cd /
      rm -rf $TEMPDIR
 }