Add $EXEEXT to names of binaries executed in tests.
[pspp-builds.git] / tests / bugs / compute-sum.sh
index 83aeae048acfe9ca5fce21a4ab84d8492ef901d8..195867df19cf67656a7f3d53cbe4e12140c539f2 100755 (executable)
@@ -10,7 +10,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`