summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin>2013-01-04 10:51:57 +0000
committerjperkin <jperkin>2013-01-04 10:51:57 +0000
commit031400f72a28a1d66f57151691e6453bbc7c7038 (patch)
tree8d25f2c454cb4b8df62b413c64961f3a9dcaa986
parent0d14e43d61d5ef1c43db3701de7d408fd6205d5d (diff)
downloadpkgsrc-031400f72a28a1d66f57151691e6453bbc7c7038.tar.gz
Don't print the /bin/sh warning on SunOS-5.11, where /bin/sh is ksh93.
-rw-r--r--mk/check/check-portability.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/check/check-portability.sh b/mk/check/check-portability.sh
index beca5c2785a..7a6521e0ebd 100644
--- a/mk/check/check-portability.sh
+++ b/mk/check/check-portability.sh
@@ -1,4 +1,4 @@
-# $NetBSD: check-portability.sh,v 1.8 2008/11/18 21:58:22 rillig Exp $
+# $NetBSD: check-portability.sh,v 1.9 2013/01/04 10:51:57 jperkin Exp $
#
# This program checks all files in the current directory and any
# subdirectories for portability issues that are likely to result in
@@ -53,7 +53,7 @@ find * -type f -print 2>/dev/null \
"#!"*"/bin/sh")
check_shell "$fname"
case "$opsys" in
- SunOS-*)
+ SunOS-5.[0-9]|SunOS-5.10)
echo "WARNING: [check-portability.sh] $fname has /bin/sh as interpreter, which is horribly broken on Solaris." 1>&2
;;
esac