Add $EXEEXT to names of binaries executed in tests.
[pspp-builds.git] / tests / command / permissions.sh
index db54cd5ade4ae8ec0b5fd8fbccc07aee8ea8d5e1..fc2ca9e138fcba5d19275954b5d6a9f7b91dbd14 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`