Module Name:    src
Committed By:   martin
Date:           Wed Sep 26 18:20:59 UTC 2018

Modified Files:
        src/distrib/sets: maketars

Log Message:
Revert previous - will pass the additional args via the environment.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/distrib/sets/maketars

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/maketars
diff -u src/distrib/sets/maketars:1.87 src/distrib/sets/maketars:1.88
--- src/distrib/sets/maketars:1.87	Wed Sep 26 15:07:24 2018
+++ src/distrib/sets/maketars	Wed Sep 26 18:20:59 2018
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: maketars,v 1.87 2018/09/26 15:07:24 martin Exp $
+# $NetBSD: maketars,v 1.88 2018/09/26 18:20:59 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 @@ for setname in ${lists:-${nlists}}; do
 		msg "Creating ${out}"
 		rm -f "${tars}/${out}"
 		TMPFILES="${TMPFILES} ${tars}/${out}.tmp"
-		runpax "${setname}" | ${COMPRESS_PROGRAM} \
-			> "${tars}/${out}.tmp" &&
+		runpax "${setname}" -z --use-compress-program \
+		    ${COMPRESS_PROGRAM} > "${tars}/${out}.tmp" &&
 		mv "${tars}/${out}.tmp" "${tars}/${out}"
 	fi
 	es=$((${es} + $?))

Reply via email to