Module Name: src
Committed By: martin
Date: Sun Jun 28 09:29:58 UTC 2015
Modified Files:
src/usr.sbin/postinstall: postinstall
Log Message:
Pass AWK to make when invoking emit_dist_file.
Part of fixing PR toolchain/50004.
To generate a diff of this commit:
cvs rdiff -u -r1.192 -r1.193 src/usr.sbin/postinstall/postinstall
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/postinstall/postinstall
diff -u src/usr.sbin/postinstall/postinstall:1.192 src/usr.sbin/postinstall/postinstall:1.193
--- src/usr.sbin/postinstall/postinstall:1.192 Sat Jun 27 09:56:54 2015
+++ src/usr.sbin/postinstall/postinstall Sun Jun 28 09:29:58 2015
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: postinstall,v 1.192 2015/06/27 09:56:54 martin Exp $
+# $NetBSD: postinstall,v 1.193 2015/06/28 09:29:58 martin Exp $
#
# Copyright (c) 2002-2008 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -1178,7 +1178,7 @@ do_mtree()
if ! $SOURCEMODE; then
MTREE_DIR="${SRC_DIR}/etc/mtree"
else
- ${MAKE} -s -C "${SRC_DIR}/etc/mtree" emit_dist_file > \
+ env AWK={$AWK:Q} ${MAKE} -s -C "${SRC_DIR}/etc/mtree" emit_dist_file > \
"${SCRATCHDIR}/NetBSD.dist"
MTREE_DIR="${SCRATCHDIR}"
fi