diff options
author | tnn <tnn@pkgsrc.org> | 2008-02-05 08:17:59 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-02-05 08:17:59 +0000 |
commit | a1bf36e0ae2d685f9c65e300bb1d790cd5628d08 (patch) | |
tree | 3269b734d3b8c55a701c87eb6c1e1ef200f4d442 /mk/check | |
parent | fbf42c9d3ee6f0317e0512d1fb4ae250b68737ac (diff) | |
download | pkgsrc-a1bf36e0ae2d685f9c65e300bb1d790cd5628d08.tar.gz |
Convert to ${RUN}
Diffstat (limited to 'mk/check')
-rw-r--r-- | mk/check/check-interpreter.mk | 6 | ||||
-rw-r--r-- | mk/check/check-perms.mk | 5 |
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."; \ |