summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjschauma <jschauma>2005-09-25 15:05:40 +0000
committerjschauma <jschauma>2005-09-25 15:05:40 +0000
commit83ec596495a4917d026bbadcd87fa9429a111d12 (patch)
tree2c2a820b6115ce11722aaaf535dc45fa854a8dfe /mk
parentff108abdf793216c2a227f6141163a43c71307d9 (diff)
downloadpkgsrc-83ec596495a4917d026bbadcd87fa9429a111d12.tar.gz
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 (limited to 'mk')
-rw-r--r--mk/bulk/post-build4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bulk/post-build b/mk/bulk/post-build
index 609a5ac615d..7587175625b 100644
--- a/mk/bulk/post-build
+++ b/mk/bulk/post-build
@@ -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 @@ my_system("mkdir -p $vars{FTP}");
# 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) {