pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/bulk avoid another long command line calling tar(1).



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6bd4034253b1
branches:  trunk
changeset: 468576:6bd4034253b1
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Feb 15 06:17:10 2004 +0000

description:
avoid another long command line calling tar(1).

diffstat:

 mk/bulk/post-build |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 105dee05b97f -r 6bd4034253b1 mk/bulk/post-build
--- a/mk/bulk/post-build        Sun Feb 15 06:13:51 2004 +0000
+++ b/mk/bulk/post-build        Sun Feb 15 06:17:10 2004 +0000
@@ -1,5 +1,5 @@
 #!/usr/pkg/bin/perl
-# $NetBSD: post-build,v 1.34 2004/02/14 04:00:18 grant Exp $
+# $NetBSD: post-build,v 1.35 2004/02/15 06:17:10 grant Exp $
 #
 # Collect stuff after a pkg bulk build
 #
@@ -139,7 +139,7 @@
 
        if (scalar(@leftovers)) {
                # Store leftovers, for easier identification:
-               system("tar plcf - `cat $leftovers_txt` | ( cd leftovers-${arch} ; tar plxf - )");
+               system("tar plcf - -T $leftovers_txt | (cd leftovers-${arch}; tar plxf -)");
        }
 
        # Add links to leftover list:



Home | Main Index | Thread Index | Old Index