Permalink
Browse files

Launch the bourne shell using "sh" rather than "${SHELL}", as the latter

may come in from the environment and reflect the user's interactive shell.
Using bare "sh" is the dominant pattern in existing makefiles.

MFC this together with r255775.

Approved by:	re ()
MFC after:	2 weeks
  • Loading branch information...
1 parent 2642383 commit 5acce3cc7f418da48d069006b327265877aa87d8 ian committed Sep 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/Makefile
View
@@ -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} \
- ${SHELL} ${MK_OSRELDATE_SH}
+ sh ${MK_OSRELDATE_SH}
.for i in ${LHDRS}
INCSLINKS+= sys/$i ${INCLUDEDIR}/$i

0 comments on commit 5acce3c

Please sign in to comment.