Don't append -ansi to AM_CFLAGS for GCC. Using -ansi changes the
[pspp] / tests / stats / percentiles-compatible.sh
index 74afea475388e0950f25ca2f57673fb671a78840..b3d997db478b501267fae0cc76c700bf0cb9f49f 100755 (executable)
@@ -10,11 +10,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
      :
 }
@@ -52,7 +54,7 @@ i=1;
 
 activity="create program $i"
 cat > $TEMPDIR/prog.sps <<EOF
-DATA LIST LIST notable /x * .
+DATA LIST LIST notable /X * .
 BEGIN DATA.
 1 
 2