Add $EXEEXT to names of binaries executed in tests.
[pspp-builds.git] / tests / command / sample.sh
index 4f4515e2be05073a21a85232970a2bdbe77b5069..0dfd0778a3af16ab6c20e7f6cbf2e0e0707cce01 100755 (executable)
@@ -9,7 +9,7 @@ TESTFILE=$TEMPDIR/`basename $0`.sps
 if [ -z "$top_builddir" ] ; then top_builddir=. ; fi
 if [ -z "$top_srcdir" ] ; then top_srcdir=. ; fi
 top_builddir=`cd $top_builddir; pwd`
-PSPP=$top_builddir/src/ui/terminal/pspp
+PSPP=$top_builddir/src/ui/terminal/pspp$EXEEXT
 
 # ensure that top_srcdir is absolute
 top_srcdir=`cd $top_srcdir; pwd`