Chmod the shell testscript to be executable if it isn't already. According

to the CVS-Meisters x-mode just happens to work, but is not guaranteed to
do so. Try to be on the safe side.
This commit is contained in:
Hartmut Brandt 2004-11-30 15:33:18 +00:00
parent d111b34081
commit 60f801ee87
2 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@ DATA1:= ${DATA5:S/l/r/g}
NIL=
all:
@if [ ! -x ${.CURDIR}/shell_test ] ; then chmod +x ${.CURDIR}/shell_test ; fi
@echo '1..16'
@echo 1:${DATA1} 2:${DATA2} 3:${DATA3} 4:${DATA4} 5:${DATA5} | \
diff -u ${.CURDIR}/regress.variables.out - || ${MAKE} failure

View File

@ -19,6 +19,7 @@ DATA1:= ${DATA5:S/l/r/g}
NIL=
all:
@if [ ! -x ${.CURDIR}/shell_test ] ; then chmod +x ${.CURDIR}/shell_test ; fi
@echo '1..16'
@echo 1:${DATA1} 2:${DATA2} 3:${DATA3} 4:${DATA4} 5:${DATA5} | \
diff -u ${.CURDIR}/regress.variables.out - || ${MAKE} failure