pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/check Convert to ${RUN}



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6eb6045902c7
branches:  trunk
changeset: 538292:6eb6045902c7
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Feb 05 08:17:59 2008 +0000

description:
Convert to ${RUN}

diffstat:

 mk/check/check-interpreter.mk |  6 ++----
 mk/check/check-perms.mk       |  5 ++---
 2 files changed, 4 insertions(+), 7 deletions(-)

diffs (39 lines):

diff -r 865c9be13996 -r 6eb6045902c7 mk/check/check-interpreter.mk
--- a/mk/check/check-interpreter.mk     Tue Feb 05 02:10:38 2008 +0000
+++ b/mk/check/check-interpreter.mk     Tue Feb 05 08:17:59 2008 +0000
@@ -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 @@
 
 _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 -r 865c9be13996 -r 6eb6045902c7 mk/check/check-perms.mk
--- a/mk/check/check-perms.mk   Tue Feb 05 02:10:38 2008 +0000
+++ b/mk/check/check-perms.mk   Tue Feb 05 08:17:59 2008 +0000
@@ -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: .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."; \



Home | Main Index | Thread Index | Old Index