From 6d222dd0c0ec68744e41b11d52360ed50fd9e25a Mon Sep 17 00:00:00 2001 From: rillig Date: Mon, 9 Oct 2006 23:06:48 +0000 Subject: Since a few hours, the .PLIST file does not contain the full pathnames anymore. Therefore, cd to ${LOCALBASE} to correctly resolve the relative pathnames. --- mk/check/check-interpreter.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mk/check/check-interpreter.mk') 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}; \ -- cgit v1.2.3