diff options
author | rillig <rillig@pkgsrc.org> | 2020-04-26 14:23:25 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-04-26 14:23:25 +0000 |
commit | 178905292b80fcb0a92606ea9964cfb415d0248b (patch) | |
tree | 4f2fc619298c248e1b5b30555d2683aedde66905 | |
parent | bd7f357c748cf89b7060fd57065650efb4e2b55f (diff) | |
download | pkgsrc-178905292b80fcb0a92606ea9964cfb415d0248b.tar.gz |
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.
-rw-r--r-- | mk/check/check-wrkref.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/check/check-wrkref.mk b/mk/check/check-wrkref.mk index e4565fde2e1..992219c58dc 100644 --- a/mk/check/check-wrkref.mk +++ b/mk/check/check-wrkref.mk @@ -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} \ |