Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools mk/tools/create.mk: make tool wrappers smaller



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4b775bf99559
branches:  trunk
changeset: 431164:4b775bf99559
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat May 09 21:08:05 2020 +0000

description:
mk/tools/create.mk: make tool wrappers smaller

There is no need to include the comments from the shquote function.

diffstat:

 mk/tools/create.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2ea11c0f0a03 -r 4b775bf99559 mk/tools/create.mk
--- a/mk/tools/create.mk        Sat May 09 21:04:14 2020 +0000
+++ b/mk/tools/create.mk        Sat May 09 21:08:05 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: create.mk,v 1.12 2020/05/09 20:50:20 rillig Exp $
+# $NetBSD: create.mk,v 1.13 2020/05/09 21:08:05 rillig Exp $
 #
 # Copyright (c) 2005, 2006 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -184,7 +184,7 @@
        wrapper)                                                        \
                { ${ECHO} '#!'${TOOLS_SHELL:Q};                         \
                  ${ECHO} 'tools_wrapper_sed='${SED:Q:Q};               \
-                 ${SED} -e '/^$$/d' -e '/^\#/d' ${PKGSRCDIR}/mk/tools/shquote.sh; \
+                 ${SED} -e '/^$$/d' -e '/^     *#/d' ${PKGSRCDIR}/mk/tools/shquote.sh; \
                  ${ECHO} 'wrapperlog="$${TOOLS_WRAPPER_LOG-'${_TOOLS_WRAP_LOG:Q}'}"'; \
                  ${ECHO} 'shquote_args "$$@"';                         \
                  ${ECHO} '${ECHO} "[*] "'${.TARGET:Q}'"$$shquoted_args" >> $$wrapperlog'; \



Home | Main Index | Thread Index | Old Index