Add $EXEEXT to names of binaries executed in tests.
[pspp-builds.git] / tests / stats / moments.sh
index 89854285a0f0cde4fc9b7ad801a7db58e9970249..176c8a0ed7cdfbb5746712e1a91c05f998b9c268 100755 (executable)
@@ -8,7 +8,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`