Source-Changes-HG archive

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

[src/trunk]: src Make build.sh work again with /usr/xpg4/bin/sh on Solaris. O...



details:   https://anonhg.NetBSD.org/src/rev/090d2fe38eb1
branches:  trunk
changeset: 752809:090d2fe38eb1
user:      hans <hans%NetBSD.org@localhost>
date:      Sun Mar 07 17:34:25 2010 +0000

description:
Make build.sh work again with /usr/xpg4/bin/sh on Solaris. Ok by pooka.

diffstat:

 build.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r b68c5710902d -r 090d2fe38eb1 build.sh
--- a/build.sh  Sun Mar 07 16:57:41 2010 +0000
+++ b/build.sh  Sun Mar 07 17:34:25 2010 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/env sh
-#      $NetBSD: build.sh,v 1.230 2010/03/07 16:57:41 pooka Exp $
+#      $NetBSD: build.sh,v 1.231 2010/03/07 17:34:25 hans Exp $
 #
 # Copyright (c) 2001-2009 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1352,7 +1352,7 @@
        eval cat <<EOF ${makewrapout}
 #! ${HOST_SH}
 # Set proper variables to allow easy "make" building of a NetBSD subtree.
-# Generated from:  \$NetBSD: build.sh,v 1.230 2010/03/07 16:57:41 pooka Exp $
+# Generated from:  \$NetBSD: build.sh,v 1.231 2010/03/07 17:34:25 hans Exp $
 # with these arguments: ${_args}
 #
 
@@ -1586,7 +1586,7 @@
            || bomb "cd to rumpkern failed"
        md_quirks=`${runcmd} "${makewrapper}" -V '${_SYMQUIRK}'`
        # one little, two little, three little backslashes ...
-       md_quirks="`echo ${md_quirks} | sed 's,\\\,\\\\\\\,g'";s/'//g" `"
+       md_quirks="$(echo ${md_quirks} | sed 's,\\,\\\\,g'";s/'//g" )"
        ${runcmd} cd "${TOP}" || bomb "cd to ${TOP} failed"
        tool_ld=`${runcmd} "${makewrapper}" -V '${LD}'`
 



Home | Main Index | Thread Index | Old Index