summaryrefslogtreecommitdiff
path: root/mk/bulk/post-build
diff options
context:
space:
mode:
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) {