diff options
author | rillig <rillig@pkgsrc.org> | 2006-01-21 10:13:25 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-01-21 10:13:25 +0000 |
commit | 71cd38615dce1cc237a1b83f6ae1563b8f50c5c3 (patch) | |
tree | bd93c250cf1aa345ff30e7a9cfbf49d963d5f72d /mk/bsd.pkg.check.mk | |
parent | 6939e1e3edba144c6b50e144e93e5e6d0f28f4c8 (diff) | |
download | pkgsrc-71cd38615dce1cc237a1b83f6ae1563b8f50c5c3.tar.gz |
Whether a missing interpreter is a warning or an error depends on whether
the _file_ is executable, not the _interpreter_.
Diffstat (limited to 'mk/bsd.pkg.check.mk')
-rw-r--r-- | mk/bsd.pkg.check.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.check.mk b/mk/bsd.pkg.check.mk index 8a3b56cbbfe..51668040d5b 100644 --- a/mk/bsd.pkg.check.mk +++ b/mk/bsd.pkg.check.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.check.mk,v 1.26 2006/01/21 10:04:44 rillig Exp $ +# $NetBSD: bsd.pkg.check.mk,v 1.27 2006/01/21 10:13:25 rillig Exp $ # # This Makefile fragment is included by bsd.pkg.mk and defines the # relevant variables and targets for the various install-time "check" @@ -450,7 +450,7 @@ check-interpreter: "") continue; \ esac; \ if ${TEST} ! -f "$$interp"; then \ - if ${TEST} -x "$$interp"; then \ + if ${TEST} -x "$$file"; then \ ${ECHO} "[bsd.pkg.check.mk] ERROR: The interpreter \"$$interp\" of \"$$file\" does not exist." 1>&2; \ exitcode=1; \ else \ |