Add $EXEEXT to names of binaries executed in tests.
[pspp-builds.git] / tests / bugs / unwritable-dir.sh
index 774b6230b6a68e7d0f3a2f9bf5e2237aa24bbcf1..bb8da8be77f6bdca748abbd7e928c9f063615319 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`