Module Name: src
Committed By: christos
Date: Thu Feb 7 16:27:41 UTC 2013
Modified Files:
src/distrib/sets: maketars
Log Message:
We always have a valid mtree file, so always specify -M
To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 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.79 src/distrib/sets/maketars:1.80
--- src/distrib/sets/maketars:1.79 Wed Feb 6 20:24:04 2013
+++ src/distrib/sets/maketars Thu Feb 7 11:27:41 2013
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: maketars,v 1.79 2013/02/07 01:24:04 christos Exp $
+# $NetBSD: maketars,v 1.80 2013/02/07 16:27:41 christos Exp $
#
# Make release tar files for some or all lists. Usage:
# maketars [-b] [-x] [-i installdir] [-a arch] [-m machine] [-s setsdir]
@@ -195,8 +195,8 @@ fi
runpax() {
local s="$1"
shift
- (cd "${dest}" && cut -d " " -f 1 "${setlistdir}/set.${s}" |
- ${PAX} -dOw -N"${etcdir}" ${metalog:+-M} "$@")
+ (cd "${dest}" &&
+ ${PAX} -dOw -N"${etcdir}" -M "$@" < "${setlistdir}/set.${s}")
}
#