Add $EXEEXT to names of binaries executed in tests.
[pspp-builds.git] / tests / command / count.sh
index 0813c428aa647d9bfc40dad03b4f60b7b4a818d7..088043a30b4e4b1833ffcb20f8ecd2cf07a0bc5f 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`