summaryrefslogtreecommitdiff
path: root/mk/bulk/post-build
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-02-14 04:00:18 +0000
committergrant <grant@pkgsrc.org>2004-02-14 04:00:18 +0000
commitf426c40c92cf576c60afcc7964c40355c01f914e (patch)
tree3f6f2a101b836e4a2d1fb7c96eaf2c9faaa1111f /mk/bulk/post-build
parent2928aefaa2ee5eb2d26ec7c6c343d65bc80d335f (diff)
downloadpkgsrc-f426c40c92cf576c60afcc7964c40355c01f914e.tar.gz
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 (limited to 'mk/bulk/post-build')
-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 564279553b0..f914e97ef29 100644
--- a/mk/bulk/post-build
+++ b/mk/bulk/post-build
@@ -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 @@ system("mkdir -p ${FTP}");
# 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) {