Source-Changes-HG archive

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

[src/trunk]: src/distrib/sets Prune obj|obj.* directories/symlinks correctly....



details:   https://anonhg.NetBSD.org/src/rev/645bf238105e
branches:  trunk
changeset: 566447:645bf238105e
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun May 09 13:46:00 2004 +0000

description:
Prune obj|obj.* directories/symlinks correctly.  Fix from Hubert Feyrer.

diffstat:

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

diffs (20 lines):

diff -r 7621916e7201 -r 645bf238105e distrib/sets/makesrctars
--- a/distrib/sets/makesrctars  Sun May 09 11:28:58 2004 +0000
+++ b/distrib/sets/makesrctars  Sun May 09 13:46:00 2004 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-#      $NetBSD: makesrctars,v 1.17 2004/04/20 06:36:35 lukem Exp $
+#      $NetBSD: makesrctars,v 1.18 2004/05/09 13:46:00 lukem Exp $
 #
 # makesrctars srcdir setdir
 #      Create source tarballs in setdir from the source under srcdir.
@@ -60,7 +60,7 @@
        echo "Creating ${set}"
        set -f
        find -s $* \
-           ! \( \( -name obj -o -name 'obj.*' \) \( -type l -o -type d \) \) \
+           ! \( \( -name obj -o -name 'obj.*' \) \( -type l -o -type d \) -prune \) \
            -print \
            | ${PAX} -w -d -s'|^\.|'${srcprefix}'|' \
            | gzip \



Home | Main Index | Thread Index | Old Index