summaryrefslogtreecommitdiff
path: root/mk/check
diff options
context:
space:
mode:
authortnn <tnn>2008-02-05 08:17:59 +0000
committertnn <tnn>2008-02-05 08:17:59 +0000
commit25b55e8259ea128b6bb2b8923994332ac56ba786 (patch)
tree3269b734d3b8c55a701c87eb6c1e1ef200f4d442 /mk/check
parent57b54dd5dcb8e896c929da52be9012efee870f53 (diff)
downloadpkgsrc-25b55e8259ea128b6bb2b8923994332ac56ba786.tar.gz
Convert to ${RUN}
Diffstat (limited to 'mk/check')
-rw-r--r--mk/check/check-interpreter.mk6
-rw-r--r--mk/check/check-perms.mk5
2 files changed, 4 insertions, 7 deletions
diff --git a/mk/check/check-interpreter.mk b/mk/check/check-interpreter.mk
index 1aa35238930..f40dcc75462 100644
--- a/mk/check/check-interpreter.mk
+++ b/mk/check/check-interpreter.mk
@@ -1,4 +1,4 @@
-# $NetBSD: check-interpreter.mk,v 1.21 2007/11/30 08:34:31 bjs Exp $
+# $NetBSD: check-interpreter.mk,v 1.22 2008/02/05 08:17:59 tnn Exp $
#
# This file checks that after installation, all files of the package
# that start with a "#!" line will find their interpreter. Files that
@@ -42,9 +42,7 @@ privileged-install-hook: _check-interpreter
_check-interpreter: error-check .PHONY
@${STEP_MSG} "Checking for non-existent script interpreters in ${PKGNAME}"
- ${_PKG_SILENT}${_PKG_DEBUG} \
- set -e; \
- cd ${DESTDIR}${PREFIX}; \
+ ${RUN} cd ${DESTDIR}${PREFIX}; \
${_CHECK_INTERP_FILELIST_CMD} | ${SORT} | ${SED} 's,\\,\\\\,g' |\
while read file; do \
case "$$file" in \
diff --git a/mk/check/check-perms.mk b/mk/check/check-perms.mk
index a5b080f75bf..83dcbd6ebf6 100644
--- a/mk/check/check-perms.mk
+++ b/mk/check/check-perms.mk
@@ -1,4 +1,4 @@
-# $NetBSD: check-perms.mk,v 1.10 2007/08/14 23:58:24 joerg Exp $
+# $NetBSD: check-perms.mk,v 1.11 2008/02/05 08:17:59 tnn Exp $
#
# This file checks that after installation of a package, all files and
# directories of that package have sensible permissions set.
@@ -75,8 +75,7 @@ _CHECK_PERMS_GETDIRS_AWK= \
_check-perms: .PHONY
@${STEP_MSG} "Checking file permissions in ${PKGNAME}"
- ${_PKG_SILENT}${_PKG_DEBUG} set -eu; \
- ${PKG_INFO} -qe "checkperms>=1.1" \
+ ${RUN} ${PKG_INFO} -qe "checkperms>=1.1" \
|| { \
${WARNING_MSG} "[check-perms.mk] Skipping file permissions check."; \
${WARNING_MSG} "[check-perms.mk] Install sysutils/checkperms to enable this check."; \