pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/tools



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sat May  9 21:08:05 UTC 2020

Modified Files:
        pkgsrc/mk/tools: create.mk

Log Message:
mk/tools/create.mk: make tool wrappers smaller

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


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/mk/tools/create.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/tools/create.mk
diff -u pkgsrc/mk/tools/create.mk:1.12 pkgsrc/mk/tools/create.mk:1.13
--- pkgsrc/mk/tools/create.mk:1.12      Sat May  9 20:50:20 2020
+++ pkgsrc/mk/tools/create.mk   Sat May  9 21:08:05 2020
@@ -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 @@ ${TOOLS_CMD.${_t_}}:
        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