diff options
author | grant <grant> | 2004-02-14 04:00:18 +0000 |
---|---|---|
committer | grant <grant> | 2004-02-14 04:00:18 +0000 |
commit | a6605838776310d1ed789153a8c7aeb8104d924e (patch) | |
tree | 3f6f2a101b836e4a2d1fb7c96eaf2c9faaa1111f | |
parent | bc2dc42fcc7c1fdf9b9af30baa03ac745a3c561f (diff) | |
download | pkgsrc-a6605838776310d1ed789153a8c7aeb8104d924e.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.
-rw-r--r-- | mk/bulk/post-build | 4 |
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) { |