summaryrefslogtreecommitdiff
path: root/mk/check
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2016-03-11 21:11:47 +0000
committerdholland <dholland@pkgsrc.org>2016-03-11 21:11:47 +0000
commite9bcc5dbc2a8bf072c52aec10b5df543fa4ddb30 (patch)
tree5189a46f8c2a997ba2a0c3d1fa24bbadd17b2f0d /mk/check
parent7b7136f17876f50a94e2963204c3177aa6a240ef (diff)
downloadpkgsrc-e9bcc5dbc2a8bf072c52aec10b5df543fa4ddb30.tar.gz
Explicitly skip directories. PR 50955.
Diffstat (limited to 'mk/check')
-rw-r--r--mk/check/check-interpreter.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/check/check-interpreter.mk b/mk/check/check-interpreter.mk
index 193e852d415..5a6a53eba6b 100644
--- a/mk/check/check-interpreter.mk
+++ b/mk/check/check-interpreter.mk
@@ -1,4 +1,4 @@
-# $NetBSD: check-interpreter.mk,v 1.30 2015/11/27 12:45:04 jperkin Exp $
+# $NetBSD: check-interpreter.mk,v 1.31 2016/03/11 21:11:47 dholland Exp $
#
# This file checks that after installation, all files of the package
# that start with a "#!" line will find their interpreter. Files that
@@ -56,6 +56,9 @@ _check-interpreter: error-check .PHONY
if [ ! -x "$$file" ]; then \
continue; \
fi; \
+ if [ -d "$$file" ]; then \
+ continue; \
+ fi; \
if [ ! -r "$$file" ]; then \
${DELAYED_WARNING_MSG} "[check-interpreter.mk] File \"${DESTDIR}${PREFIX}/$$file\" cannot be read."; \
continue; \