summaryrefslogtreecommitdiff
path: root/mk/check/check-interpreter.mk
diff options
context:
space:
mode:
authorrillig <rillig>2006-10-09 23:06:48 +0000
committerrillig <rillig>2006-10-09 23:06:48 +0000
commit6d222dd0c0ec68744e41b11d52360ed50fd9e25a (patch)
treee1e7e39ec3eff71ae3c817b0820b2be2c88b7139 /mk/check/check-interpreter.mk
parent6fe558c6c6e560eb95f7a2cfa0b85ca1a34a1dac (diff)
downloadpkgsrc-6d222dd0c0ec68744e41b11d52360ed50fd9e25a.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}; \