summaryrefslogtreecommitdiff
path: root/mk/subst.mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2020-04-30 23:51:45 +0000
committerjoerg <joerg@pkgsrc.org>2020-04-30 23:51:45 +0000
commit39038285e12a7129955d1715f091d080fa724aa8 (patch)
treee42963692e24bdb370edef9960a9046bcc03a0f0 /mk/subst.mk
parenta3b5b8dc91668f2d394c1c00fa121f825048b581 (diff)
downloadpkgsrc-39038285e12a7129955d1715f091d080fa724aa8.tar.gz
Use $() as it gives more consistent quoting behavior as seen by
devel/ruby-redmine.
Diffstat (limited to 'mk/subst.mk')
-rw-r--r--mk/subst.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/subst.mk b/mk/subst.mk
index 6d7eb97f91e..7a8c0f3ea85 100644
--- a/mk/subst.mk
+++ b/mk/subst.mk
@@ -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_COOKIE.${class}}:
${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; \