Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/distrib/sets Pull up revision 1.19 (requested by lukem in...



details:   https://anonhg.NetBSD.org/src/rev/c1b53cbe7ed6
branches:  netbsd-3
changeset: 575897:c1b53cbe7ed6
user:      tron <tron%NetBSD.org@localhost>
date:      Sat May 28 12:43:54 2005 +0000

description:
Pull up revision 1.19 (requested by lukem in ticket #333):
Use "find |sort" instead of "find -s" -- the latter isn't POSIX.

diffstat:

 distrib/sets/makesrctars |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 7a2eaefee4f9 -r c1b53cbe7ed6 distrib/sets/makesrctars
--- a/distrib/sets/makesrctars  Sat May 28 12:41:08 2005 +0000
+++ b/distrib/sets/makesrctars  Sat May 28 12:43:54 2005 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-#      $NetBSD: makesrctars,v 1.18 2004/05/09 13:46:00 lukem Exp $
+#      $NetBSD: makesrctars,v 1.18.2.1 2005/05/28 12:43:54 tron Exp $
 #
 # makesrctars srcdir setdir
 #      Create source tarballs in setdir from the source under srcdir.
@@ -59,9 +59,10 @@
        shift
        echo "Creating ${set}"
        set -f
-       find -s $* \
+       find $* \
            ! \( \( -name obj -o -name 'obj.*' \) \( -type l -o -type d \) -prune \) \
            -print \
+           | sort \
            | ${PAX} -w -d -s'|^\.|'${srcprefix}'|' \
            | gzip \
            > "${setdir}/${set}"



Home | Main Index | Thread Index | Old Index