Module Name: src Committed By: uebayasi Date: Fri Dec 11 16:09:03 UTC 2009
Modified Files: src/share/mk: bsd.own.mk Log Message: GENCMD: quote the string to eval in case it has spaces. To generate a diff of this commit: cvs rdiff -u -r1.606 -r1.607 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.606 src/share/mk/bsd.own.mk:1.607 --- src/share/mk/bsd.own.mk:1.606 Fri Dec 11 15:22:33 2009 +++ src/share/mk/bsd.own.mk Fri Dec 11 16:09:03 2009 @@ -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; \