pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/check
Module Name: pkgsrc
Committed By: rillig
Date: Sun Apr 26 14:23:25 UTC 2020
Modified Files:
pkgsrc/mk/check: check-wrkref.mk
Log Message:
mk/check/check-wrkref.mk: fix shell quoting
Before, adding "Binary file matches" (including the quotes) to
CHECK_WRKREF_EXTRA_DIRS led to a syntax error. Adding this string is so
obvious that it should have been added a long time ago already.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/mk/check/check-wrkref.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/check/check-wrkref.mk
diff -u pkgsrc/mk/check/check-wrkref.mk:1.24 pkgsrc/mk/check/check-wrkref.mk:1.25
--- pkgsrc/mk/check/check-wrkref.mk:1.24 Wed Apr 29 13:39:43 2015
+++ pkgsrc/mk/check/check-wrkref.mk Sun Apr 26 14:23:25 2020
@@ -1,4 +1,4 @@
-# $NetBSD: check-wrkref.mk,v 1.24 2015/04/29 13:39:43 jperkin Exp $
+# $NetBSD: check-wrkref.mk,v 1.25 2020/04/26 14:23:25 rillig Exp $
#
# This file checks that the installed files don't contain any strings
# that point to the directory where the package had been built, to make
@@ -38,7 +38,7 @@
#
_VARGROUPS+= check-wrkref
-_USER_VARS.check-wrkref= CHECK_WRKREF
+_USER_VARS.check-wrkref= CHECK_WRKREF CHECK_WRKREF_EXTRA_DIRS
_PKG_VARS.check-wrkref= CHECK_WRKREF_SKIP
.if ${PKG_DEVELOPER:Uno} != "no"
@@ -93,7 +93,7 @@ _check-wrkref: error-check .PHONY
*) ;; \
esac; \
${SHCOMMENT} "[$$file]"; \
- ${EGREP} "${_CHECK_WRKREF_DIRS:ts|}" "${DESTDIR}$$file" \
+ ${EGREP} ${_CHECK_WRKREF_DIRS:ts|:Q} "${DESTDIR}$$file" \
2>/dev/null | ${SED} -e "s|^|$$file: |"; \
done
${RUN} \
Home |
Main Index |
Thread Index |
Old Index