Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/postinstall Pass AWK to make when invoking emit_dis...



details:   https://anonhg.NetBSD.org/src/rev/c1850c783dd9
branches:  trunk
changeset: 339130:c1850c783dd9
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Jun 28 09:29:58 2015 +0000

description:
Pass AWK to make when invoking emit_dist_file.
Part of fixing PR toolchain/50004.

diffstat:

 usr.sbin/postinstall/postinstall |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 4971fca1866a -r c1850c783dd9 usr.sbin/postinstall/postinstall
--- a/usr.sbin/postinstall/postinstall  Sun Jun 28 09:28:46 2015 +0000
+++ b/usr.sbin/postinstall/postinstall  Sun Jun 28 09:29:58 2015 +0000
@@ -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 @@
        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



Home | Main Index | Thread Index | Old Index