PR/46182: Andreas Gustafsson: Make all files ending in [.-]sh executable.

The perfect is the enemy of the good.
This commit is contained in:
christos 2014-01-07 13:32:38 +00:00
parent 0eb3a654b0
commit 1b05a7d034

@ -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 @@ makeset()
-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}"