diff options
author | jperkin <jperkin@pkgsrc.org> | 2013-01-04 10:51:57 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2013-01-04 10:51:57 +0000 |
commit | 0658435b73853298c9e8db9d69cf0c8e92e1d93a (patch) | |
tree | 8d25f2c454cb4b8df62b413c64961f3a9dcaa986 /mk | |
parent | 5ec5b89e7579cfc6c8071f8e2f5d8a0afed1ff38 (diff) | |
download | pkgsrc-0658435b73853298c9e8db9d69cf0c8e92e1d93a.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 |