diff options
author | grant <grant@pkgsrc.org> | 2004-02-14 04:00:18 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-02-14 04:00:18 +0000 |
commit | f426c40c92cf576c60afcc7964c40355c01f914e (patch) | |
tree | 3f6f2a101b836e4a2d1fb7c96eaf2c9faaa1111f /mk/bulk/post-build | |
parent | 2928aefaa2ee5eb2d26ec7c6c343d65bc80d335f (diff) | |
download | pkgsrc-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-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) { |