From 16b0ad07ab0f227d484c014f29494a4c5159b8a3 Mon Sep 17 00:00:00 2001 From: Ian Lepore Date: Sun, 22 Sep 2013 19:15:24 +0000 Subject: [PATCH] Launch the shell, passing it the path to the mk-osreldate script, rather than launching the script directly and relying on #! to launch the shell. This avoids problems when the source is mounted with the noexec flag. MFC this together with r255775. Approved by: re (kib) MFC after: 2 weeks --- include/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Makefile b/include/Makefile index 0559e2aaaddd..730d5228f3a4 100644 --- a/include/Makefile +++ b/include/Makefile @@ -113,7 +113,7 @@ osreldate.h vers.c: ${NEWVERS_SH} ${PARAM_H} ${MK_OSRELDATE_SH} MAKE="${MAKE}" \ NEWVERS_SH=${NEWVERS_SH} \ PARAM_H=${PARAM_H} \ - ${MK_OSRELDATE_SH} + ${SHELL} ${MK_OSRELDATE_SH} .for i in ${LHDRS} INCSLINKS+= sys/$i ${INCLUDEDIR}/$i