diff options
author | jperkin <jperkin> | 2013-01-04 10:51:57 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2013-01-04 10:51:57 +0000 |
commit | fe3cccdb887416d699d5a2494c44e5cf76b76d60 (patch) | |
tree | 8d25f2c454cb4b8df62b413c64961f3a9dcaa986 /mk | |
parent | 875eaba500a22dd12bcd306b9182623fc2e724ad (diff) | |
download | pkgsrc-fe3cccdb887416d699d5a2494c44e5cf76b76d60.tar.gz |
Don't print the /bin/sh warning on SunOS-5.11, where /bin/sh is ksh93.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/check/check-portability.sh | 4 |
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 |