diff options
author | joerg <joerg@pkgsrc.org> | 2020-04-30 23:51:45 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2020-04-30 23:51:45 +0000 |
commit | 39038285e12a7129955d1715f091d080fa724aa8 (patch) | |
tree | e42963692e24bdb370edef9960a9046bcc03a0f0 /mk/subst.mk | |
parent | a3b5b8dc91668f2d394c1c00fa121f825048b581 (diff) | |
download | pkgsrc-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.mk | 4 |
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; \ |