pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu Apr 30 23:51:45 UTC 2020

Modified Files:
        pkgsrc/mk: subst.mk

Log Message:
Use $() as it gives more consistent quoting behavior as seen by
devel/ruby-redmine.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 pkgsrc/mk/subst.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/subst.mk
diff -u pkgsrc/mk/subst.mk:1.87 pkgsrc/mk/subst.mk:1.88
--- pkgsrc/mk/subst.mk:1.87     Thu Apr 30 23:51:15 2020
+++ pkgsrc/mk/subst.mk  Thu Apr 30 23:51:45 2020
@@ -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;                       \



Home | Main Index | Thread Index | Old Index