Module Name: src
Committed By: martin
Date: Wed Sep 26 15:07:24 UTC 2018
Modified Files:
src/distrib/sets: maketars
Log Message:
Allow for ${COMPRESS_PROGRAM} to hold the name of a compressor program
plus additional arguments (like -9).
To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 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.86 src/distrib/sets/maketars:1.87
--- src/distrib/sets/maketars:1.86 Sat Jan 21 19:37:46 2017
+++ src/distrib/sets/maketars Wed Sep 26 15:07:24 2018
@@ -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 @@ for setname in ${lists:-${nlists}}; do
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} + $?))