summaryrefslogtreecommitdiff
path: root/mk/check/check-interpreter.mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-10-09 23:06:48 +0000
committerrillig <rillig@pkgsrc.org>2006-10-09 23:06:48 +0000
commita08f90a7a165d3964e35a53c1c6cfd8f69a550fc (patch)
treee1e7e39ec3eff71ae3c817b0820b2be2c88b7139 /mk/check/check-interpreter.mk
parent22f1949c3af83c3ceb0d6f744929c9e8083c3fd6 (diff)
downloadpkgsrc-a08f90a7a165d3964e35a53c1c6cfd8f69a550fc.tar.gz
Since a few hours, the .PLIST file does not contain the full pathnames
anymore. Therefore, cd to ${LOCALBASE} to correctly resolve the relative pathnames.
Diffstat (limited to 'mk/check/check-interpreter.mk')
-rw-r--r--mk/check/check-interpreter.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/check/check-interpreter.mk b/mk/check/check-interpreter.mk
index 729f9c8dc30..c368ec42076 100644
--- a/mk/check/check-interpreter.mk
+++ b/mk/check/check-interpreter.mk
@@ -1,4 +1,4 @@
-# $NetBSD: check-interpreter.mk,v 1.12 2006/10/09 12:25:44 joerg Exp $
+# $NetBSD: check-interpreter.mk,v 1.13 2006/10/09 23:06:48 rillig Exp $
# This file checks that after installation, all files of the package
# that start with a "#!" line will find their interpreter. Files that
@@ -47,6 +47,7 @@ check-interpreter: error-check
.if !defined(NO_PKG_REGISTER)
${_PKG_SILENT}${_PKG_DEBUG} \
set -e; \
+ cd ${LOCALBASE}; \
${_CHECK_INTERP_FILELIST_CMD} | ${SORT} | ${SED} 's,\\,\\\\,g' |\
while read file; do \
${_CHECK_INTERP_SKIP_FILTER}; \