Module Name: src Committed By: hans Date: Sun Mar 7 17:34:25 UTC 2010
Modified Files: src: build.sh Log Message: Make build.sh work again with /usr/xpg4/bin/sh on Solaris. Ok by pooka. To generate a diff of this commit: cvs rdiff -u -r1.230 -r1.231 src/build.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/build.sh diff -u src/build.sh:1.230 src/build.sh:1.231 --- src/build.sh:1.230 Sun Mar 7 16:57:41 2010 +++ src/build.sh Sun Mar 7 17:34:25 2010 @@ -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}'`