On Sun, 2013-09-22 at 09:37 -0500, Larry Rosenman wrote:
> Is it intended that we need to set exec=on for /usr/src after the 
> include/mk-osreldate.sh addition?
> 
> 

Are you saying you have /usr/src mounted with the noexec option and
that's preventing the script from running?  The mount manpage says that
you may still run scripts from a noexec mount, but maybe that's
outdated.  Does the attached patch let you keep the noexec option?

-- Ian

Index: include/Makefile
===================================================================
--- include/Makefile	(revision 255775)
+++ include/Makefile	(working copy)
@@ -113,7 +113,7 @@ osreldate.h vers.c: ${NEWVERS_SH} ${PARAM_H} ${MK_
 	    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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to