pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/bulk Finally remember to commit this:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/414d85a27666
branches:  trunk
changeset: 499496:414d85a27666
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Sun Sep 25 15:05:40 2005 +0000

description:
Finally remember to commit this:
Make use of find(1) instead of ls(1) to find the broken files.
This prevents the generation of an empty report due to 'too many arguments'
to ls on certain platforms.

diffstat:

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

diffs (19 lines):

diff -r 65534f3311a1 -r 414d85a27666 mk/bulk/post-build
--- a/mk/bulk/post-build        Sun Sep 25 14:07:10 2005 +0000
+++ b/mk/bulk/post-build        Sun Sep 25 15:05:40 2005 +0000
@@ -1,5 +1,5 @@
 #!/usr/pkg/bin/perl
-# $NetBSD: post-build,v 1.57 2005/08/26 07:24:53 reed Exp $
+# $NetBSD: post-build,v 1.58 2005/09/25 15:05:40 jschauma Exp $
 #
 # Collect stuff after a pkg bulk build
 #
@@ -119,7 +119,7 @@
 
 # Copy over the output from the build process
 chdir($vars{USR_PKGSRC});
-my_system("/bin/ls -1 $vars{BROKENFILE} $vars{BROKENWRKLOG} */*/$vars{BROKENFILE} */*/$vars{BROKENWRKLOG} 2>/dev/null | $vars{PAX} -r -w -X -p e $vars{FTP}");
+my_system("find . -name $vars{BROKENFILE} -print -o -name $vars{BROKENWRKLOG} -print | $vars{PAX} -r -w -X -p e $vars{FTP}");
 
 # Copy over the cache files used during the build
 foreach my $f qw(BULK_DBFILE DEPENDSTREEFILE DEPENDSFILE SUPPORTSFILE INDEXFILE ORDERFILE) {



Home | Main Index | Thread Index | Old Index