pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/bulk when copying the broken files, use find(1) ins...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ef495f9dc029
branches:  trunk
changeset: 468471:ef495f9dc029
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Feb 14 04:00:18 2004 +0000

description:
when copying the broken files, use find(1) instead of a shell glob
to avoid a command line too long for sh(1) on some platforms.

diffstat:

 mk/bulk/post-build |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r bd2b1cd8b630 -r ef495f9dc029 mk/bulk/post-build
--- a/mk/bulk/post-build        Sat Feb 14 03:33:39 2004 +0000
+++ b/mk/bulk/post-build        Sat Feb 14 04:00:18 2004 +0000
@@ -1,5 +1,5 @@
 #!/usr/pkg/bin/perl
-# $NetBSD: post-build,v 1.33 2004/02/08 12:54:05 grant Exp $
+# $NetBSD: post-build,v 1.34 2004/02/14 04:00:18 grant Exp $
 #
 # Collect stuff after a pkg bulk build
 #
@@ -84,7 +84,7 @@
 
 # Copy over the output from the build process
 chdir($USR_PKGSRC);
-system("tar plcf - $BROKENFILE */*/$BROKENFILE | ( cd ${FTP} ; tar plxf - )");
+system("find . -name $BROKENFILE -print | tar plcf - -T - | (cd $FTP; tar plxf -)");
 
 # Copy over the cache files used during the build
 foreach my $f ($DEPENDSTREEFILE, $DEPENDSFILE, $SUPPORTSFILE, $INDEXFILE, $ORDERFILE) {



Home | Main Index | Thread Index | Old Index