pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Correct the use of quotes when using echo.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/687b1db040a8
branches:  trunk
changeset: 492973:687b1db040a8
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Apr 24 03:54:29 2005 +0000

description:
Correct the use of quotes when using echo.

diffstat:

 mk/tools/bsd.tools.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 083c9ea9ced7 -r 687b1db040a8 mk/tools/bsd.tools.mk
--- a/mk/tools/bsd.tools.mk     Sun Apr 24 03:41:10 2005 +0000
+++ b/mk/tools/bsd.tools.mk     Sun Apr 24 03:54:29 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.tools.mk,v 1.4 2005/04/22 05:23:12 jlam Exp $
+# $NetBSD: bsd.tools.mk,v 1.5 2005/04/24 03:54:29 jlam Exp $
 #
 # This Makefile fragment creates tools under ${TOOLS_DIR} that are
 # found before similarly-named tools in the system path.
@@ -139,8 +139,8 @@
        ${_PKG_SILENT}${_PKG_DEBUG}                                     \
        ( ${ECHO} '#!'${TOOLS_SHELL:Q};                                 \
          ${ECHO} 'wrapperlog="$${TOOLS_WRAPPER_LOG-'${_TOOLS_WRAP_LOG:Q}'}"'; \
-         ${ECHO} '${ECHO} "[*] '${TOOLS_CMD.${_t_}:Q}' $$*" >> $$wrapperlog'; \
-         ${ECHO} '${ECHO} "<.> '${TOOLS_REAL_CMDLINE.${_t_}:Q}'" >> $$wrapperlog'; \
+         ${ECHO} '${ECHO} "[*] "'${TOOLS_CMD.${_t_}:Q}'" $$*" >> $$wrapperlog'; \
+         ${ECHO} '${ECHO} "<.> "'${TOOLS_REAL_CMDLINE.${_t_}:Q}' >> $$wrapperlog'; \
          ${ECHO} ${_TOOLS_EXEC.${_t_}:Q} ${TOOLS_REAL_CMDLINE.${_t_}:Q}; \
        ) > ${.TARGET}
        ${_PKG_SILENT}${_PKG_DEBUG}${CHMOD} +x ${.TARGET}



Home | Main Index | Thread Index | Old Index