Tue Jan 7 13:32:38 2014 UTC ()
PR/46182: Andreas Gustafsson: Make all files ending in [.-]sh executable.
The perfect is the enemy of the good.


(christos)
diff -r1.38 -r1.39 src/distrib/sets/makesrctars

cvs diff -r1.38 -r1.39 src/distrib/sets/makesrctars (expand / switch to context diff)
--- src/distrib/sets/makesrctars 2009/11/30 16:13:23 1.38
+++ src/distrib/sets/makesrctars 2014/01/07 13:32:38 1.39
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-#	$NetBSD: makesrctars,v 1.38 2009/11/30 16:13:23 uebayasi Exp $
+#	$NetBSD: makesrctars,v 1.39 2014/01/07 13:32:38 christos Exp $
 #
 # makesrctars srcdir setdir
 #	Create source tarballs in setdir from the source under srcdir.
@@ -97,7 +97,7 @@
 			-e 's:type=dir:& mode=0775:' \
 			-e 's:$: uname=root gname=wsrc:' \
 			-e '/\/move-if-change /s:\(mode\)=[0-9]*:\1=0775:' \
-			-e '/^\.\/build.sh /s:\(mode\)=[0-9]*:\1=0775:' | \
+			-e '/^\.\/.*[.-]sh /s:\(mode\)=[0-9]*:\1=0775:' | \
 		${PAX} -M -N "${PASSWD}" -w -d -s'|^\.|'"${srcprefix}"'|' | \
 		${GZIP_CMD} > "${setdir}/${set}"
 	rm -f "${intmp}"