diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/check/check-interpreter.mk | 3 |
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}; \ |