diff options
author | jperkin <jperkin> | 2012-06-15 09:54:41 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2012-06-15 09:54:41 +0000 |
commit | 14668f8d9b50c4917f756a28eef8f9a3b3397ad2 (patch) | |
tree | ed8323024f34d1c266c8a24e27342400af18bc75 /bootstrap/bootstrap | |
parent | 656decae5dc57c4146152a63305847e9f095e56e (diff) | |
download | pkgsrc-14668f8d9b50c4917f756a28eef8f9a3b3397ad2.tar.gz |
Use native ksh93 on Solaris 11 and derivatives.
Diffstat (limited to 'bootstrap/bootstrap')
-rwxr-xr-x | bootstrap/bootstrap | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index 40a05f25866..dde7bb3daae 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.176 2012/06/08 12:15:29 jperkin Exp $ +# $NetBSD: bootstrap,v 1.177 2012/06/15 09:54:41 jperkin Exp $ # # Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org> # All rights reserved. @@ -677,7 +677,12 @@ SunOS) else need_sed=yes fi - need_ksh=yes + if [ "`uname -r`" = "5.11" ]; then + bootstrap_sh=${SH:-/bin/ksh} + bootstrap_sh_set=set + else + need_ksh=yes + fi set_opsys=no idprog="/usr/xpg4/bin/id" groupsprog="${idprog} -gn" |