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
This commit is contained in:
parent
c1d67563f6
commit
16b0ad07ab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255796
@ -113,7 +113,7 @@ osreldate.h vers.c: ${NEWVERS_SH} ${PARAM_H} ${MK_OSRELDATE_SH}
|
|||||||
MAKE="${MAKE}" \
|
MAKE="${MAKE}" \
|
||||||
NEWVERS_SH=${NEWVERS_SH} \
|
NEWVERS_SH=${NEWVERS_SH} \
|
||||||
PARAM_H=${PARAM_H} \
|
PARAM_H=${PARAM_H} \
|
||||||
${MK_OSRELDATE_SH}
|
${SHELL} ${MK_OSRELDATE_SH}
|
||||||
|
|
||||||
.for i in ${LHDRS}
|
.for i in ${LHDRS}
|
||||||
INCSLINKS+= sys/$i ${INCLUDEDIR}/$i
|
INCSLINKS+= sys/$i ${INCLUDEDIR}/$i
|
||||||
|
Loading…
Reference in New Issue
Block a user