Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Use $() as it gives more consistent quoting behavio...
details: https://anonhg.NetBSD.org/pkgsrc/rev/70f173663331
branches: trunk
changeset: 430423:70f173663331
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Apr 30 23:51:45 2020 +0000
description:
Use $() as it gives more consistent quoting behavior as seen by
devel/ruby-redmine.
diffstat:
mk/subst.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r d856607f03a9 -r 70f173663331 mk/subst.mk
--- a/mk/subst.mk Thu Apr 30 23:51:15 2020 +0000
+++ b/mk/subst.mk Thu Apr 30 23:51:45 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: subst.mk,v 1.87 2020/04/30 23:51:15 joerg Exp $
+# $NetBSD: subst.mk,v 1.88 2020/04/30 23:51:45 joerg Exp $
#
# The subst framework replaces text in one or more files in the WRKSRC
# directory. Packages can define several ``classes'' of replacements.
@@ -200,7 +200,7 @@
${SUBST_FILTER_CMD.${class}} < "$$file" > "$$tmpfile"; \
${CMP} -s "$$tmpfile" "$$file" && { \
${AWK} -f ${PKGSRCDIR}/mk/scripts/subst-identity.awk -- ${SUBST_SED.${class}} \
- && found=`LC_ALL=C ${SED} -n ${SUBST_SED.${class}:C,^['"]?s.*,&p,} "$$file"` \
+ && found=$(LC_ALL=C ${SED} -n ${SUBST_SED.${class}:C,^['"]?s.*,&p,} "$$file") \
&& [ "x$$found" != "x" ] && { \
changed=yes; \
continue; \
Home |
Main Index |
Thread Index |
Old Index