Add $EXEEXT to names of binaries executed in tests.
[pspp-builds.git] / tests / command / input-program.sh
index a6e8c7784a2c1666793fe934fcd02eb58c808bc6..0ac8d97b966e0b2c3e467b806914dfe2cf8c834c 100755 (executable)
@@ -9,7 +9,7 @@ TEMPDIR=/tmp/pspp-tst-$$
 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`