merge d flag.
This commit is contained in:
parent
38a95c84fa
commit
64ccf8daf2
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: maketars,v 1.78 2013/02/07 01:07:41 christos Exp $
|
||||
# $NetBSD: maketars,v 1.79 2013/02/07 01:24:04 christos Exp $
|
||||
#
|
||||
# Make release tar files for some or all lists. Usage:
|
||||
# maketars [-b] [-x] [-i installdir] [-a arch] [-m machine] [-s setsdir]
|
||||
|
@ -196,7 +196,7 @@ runpax() {
|
|||
local s="$1"
|
||||
shift
|
||||
(cd "${dest}" && cut -d " " -f 1 "${setlistdir}/set.${s}" |
|
||||
${PAX} -Ow -N"${etcdir}" ${metalog:+-M} "$@")
|
||||
${PAX} -dOw -N"${etcdir}" ${metalog:+-M} "$@")
|
||||
}
|
||||
|
||||
#
|
||||
|
@ -220,7 +220,7 @@ for setname in ${lists:-${nlists}}; do
|
|||
msg "Creating ${out}"
|
||||
rm -f "${tars}/${out}"
|
||||
TMPFILES="${TMPFILES} ${tars}/${out}.tmp"
|
||||
runpax "${setname}" -dz --use-compress-program \
|
||||
runpax "${setname}" -z --use-compress-program \
|
||||
${COMPRESS_PROGRAM} > "${tars}/${out}.tmp" &&
|
||||
mv "${tars}/${out}.tmp" "${tars}/${out}"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue