Source-Changes-HG archive

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

[src/trunk]: src/tools/make Remove an "eval" from docmd, in order to stop it ...



details:   https://anonhg.NetBSD.org/src/rev/41df10d6dee1
branches:  trunk
changeset: 526076:41df10d6dee1
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Wed Apr 24 21:17:24 2002 +0000

description:
Remove an "eval" from docmd, in order to stop it over-evaluating things
(and losing quotes from DEFS).

diffstat:

 tools/make/buildmake.sh.in |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 8ed50c3f0cb3 -r 41df10d6dee1 tools/make/buildmake.sh.in
--- a/tools/make/buildmake.sh.in        Wed Apr 24 21:09:57 2002 +0000
+++ b/tools/make/buildmake.sh.in        Wed Apr 24 21:17:24 2002 +0000
@@ -1,5 +1,5 @@
 #! /bin/sh
-#      $NetBSD: buildmake.sh.in,v 1.2 2002/01/25 17:50:28 tv Exp $
+#      $NetBSD: buildmake.sh.in,v 1.3 2002/04/24 21:17:24 bjh21 Exp $
 #
 # buildmake.sh.in - Autoconf-processed shell script for building make(1).
 #
@@ -11,7 +11,7 @@
 
 docmd () {
        echo "$1"
-       eval $1 || exit 1
+       $1 || exit 1
 }
 
 SRCDIR=@srcdir@/../../usr.bin/make



Home | Main Index | Thread Index | Old Index