Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2013 19:15:24 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r255796 - head/include
Message-ID:  <201309221915.r8MJFO5k017381@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sun Sep 22 19:15:24 2013
New Revision: 255796
URL: http://svnweb.freebsd.org/changeset/base/255796

Log:
  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

Modified:
  head/include/Makefile

Modified: head/include/Makefile
==============================================================================
--- head/include/Makefile	Sun Sep 22 19:09:43 2013	(r255795)
+++ head/include/Makefile	Sun Sep 22 19:15:24 2013	(r255796)
@@ -113,7 +113,7 @@ osreldate.h vers.c: ${NEWVERS_SH} ${PARA
 	    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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309221915.r8MJFO5k017381>