diff options
author | ian <ian@FreeBSD.org> | 2013-09-22 19:15:24 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2013-09-22 19:15:24 +0000 |
commit | c4b7751552a7ca56d5a3824e2a56cd9f00731b88 (patch) | |
tree | ab8803796a4948438eee2550ce1749c4f365fad0 /include/Makefile | |
parent | bbab9202d39bf4067344787e0529d1e0e7778a5e (diff) | |
download | FreeBSD-src-c4b7751552a7ca56d5a3824e2a56cd9f00731b88.zip FreeBSD-src-c4b7751552a7ca56d5a3824e2a56cd9f00731b88.tar.gz |
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
Diffstat (limited to 'include/Makefile')
-rw-r--r-- | include/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Makefile b/include/Makefile index 0559e2a..730d522 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 |