From 60f801ee87c4fa41278dc517423b786b3b38c848 Mon Sep 17 00:00:00 2001 From: Hartmut Brandt Date: Tue, 30 Nov 2004 15:33:18 +0000 Subject: 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. --- tools/build/make_check/Makefile | 1 + tools/regression/usr.bin/make/Makefile | 1 + 2 files changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/build/make_check/Makefile b/tools/build/make_check/Makefile index ec35ea7e6492e..772a5cb04d513 100644 --- a/tools/build/make_check/Makefile +++ b/tools/build/make_check/Makefile @@ -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 diff --git a/tools/regression/usr.bin/make/Makefile b/tools/regression/usr.bin/make/Makefile index ec35ea7e6492e..772a5cb04d513 100644 --- a/tools/regression/usr.bin/make/Makefile +++ b/tools/regression/usr.bin/make/Makefile @@ -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 -- cgit v1.3