From a1bf36e0ae2d685f9c65e300bb1d790cd5628d08 Mon Sep 17 00:00:00 2001 From: tnn Date: Tue, 5 Feb 2008 08:17:59 +0000 Subject: Convert to ${RUN} --- mk/check/check-interpreter.mk | 6 ++---- mk/check/check-perms.mk | 5 ++--- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'mk/check') 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."; \ -- cgit v1.2.3