Add $EXEEXT to names of binaries executed in tests.
[pspp-builds.git] / tests / command / weight.sh
index 0d4fb3970b21fc685f0c059d72651ff177a75b46..4a42e8d5e2da8ab9c531bf7bfa02ed6ca720a070 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`