From 031400f72a28a1d66f57151691e6453bbc7c7038 Mon Sep 17 00:00:00 2001 From: jperkin Date: Fri, 4 Jan 2013 10:51:57 +0000 Subject: Don't print the /bin/sh warning on SunOS-5.11, where /bin/sh is ksh93. --- mk/check/check-portability.sh | 4 ++-- 1 file 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 -- cgit v1.2.3