summaryrefslogtreecommitdiff
path: root/mk/check/check-interpreter.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/check/check-interpreter.mk')
-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; \