Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk GENCMD: quote the string to eval in case it has spa...
details: https://anonhg.NetBSD.org/src/rev/e7a2a99ef5ed
branches: trunk
changeset: 749862:e7a2a99ef5ed
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Fri Dec 11 16:09:03 2009 +0000
description:
GENCMD: quote the string to eval in case it has spaces.
diffstat:
share/mk/bsd.own.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r e162763ac250 -r e7a2a99ef5ed share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Fri Dec 11 15:25:05 2009 +0000
+++ b/share/mk/bsd.own.mk Fri Dec 11 16:09:03 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.606 2009/12/11 15:22:33 he Exp $
+# $NetBSD: bsd.own.mk,v 1.607 2009/12/11 16:09:03 uebayasi Exp $
.if !defined(_BSD_OWN_MK_)
_BSD_OWN_MK_=1
@@ -998,7 +998,7 @@
local _opwd=$$PWD; \
local _exit; \
cp $$_src $$_tmp; \
- { cd $$_tmp && eval $$@; _exit=$$?; cd $$_opwd; }; \
+ { cd $$_tmp && eval "$$@"; _exit=$$?; cd $$_opwd; }; \
[ $$_exit = 0 ] && cp $${_tmp}/$${_gen} $$_dst; \
rm -fr $$_tmp; \
return $$_exit; \
Home |
Main Index |
Thread Index |
Old Index