Source-Changes-HG archive

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

[src/trunk]: src/distrib/sets Allow for ${COMPRESS_PROGRAM} to hold the name ...



details:   https://anonhg.NetBSD.org/src/rev/e5ce8b3710e7
branches:  trunk
changeset: 993714:e5ce8b3710e7
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Sep 26 15:07:24 2018 +0000

description:
Allow for ${COMPRESS_PROGRAM} to hold the name of a compressor program
plus additional arguments (like -9).

diffstat:

 distrib/sets/maketars |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 8c0e5aa3dcdf -r e5ce8b3710e7 distrib/sets/maketars
--- a/distrib/sets/maketars     Wed Sep 26 14:42:22 2018 +0000
+++ b/distrib/sets/maketars     Wed Sep 26 15:07:24 2018 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: maketars,v 1.86 2017/01/21 19:37:46 jklos Exp $
+# $NetBSD: maketars,v 1.87 2018/09/26 15:07:24 martin Exp $
 #
 # Make release tar files for some or all lists.  Usage:
 # maketars [-b] [-x] [-i installdir] [-a arch] [-m machine] [-s setsdir]
@@ -239,8 +239,8 @@
                msg "Creating ${out}"
                rm -f "${tars}/${out}"
                TMPFILES="${TMPFILES} ${tars}/${out}.tmp"
-               runpax "${setname}" -z --use-compress-program \
-                   ${COMPRESS_PROGRAM} > "${tars}/${out}.tmp" &&
+               runpax "${setname}" | ${COMPRESS_PROGRAM} \
+                       > "${tars}/${out}.tmp" &&
                mv "${tars}/${out}.tmp" "${tars}/${out}"
        fi
        es=$((${es} + $?))



Home | Main Index | Thread Index | Old Index