Apply several fixes for Illumos support
This commit is contained in:
parent
f189d7a693
commit
ebab24059a
5 changed files with 79 additions and 44 deletions
6
configure
vendored
6
configure
vendored
|
|
@ -1,12 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
# /bin/sh on Solaris is not a POSIX compatible shell, but /usr/bin/ksh is.
|
||||
# /bin/sh on Solaris is not a POSIX compatible shell, but /usr/bin/bash is.
|
||||
if [ `uname -s` = 'SunOS' -a "${POSIX_SHELL}" != "true" ]; then
|
||||
POSIX_SHELL="true"
|
||||
export POSIX_SHELL
|
||||
exec /usr/bin/bash $0 "$@"
|
||||
exec /usr/bin/env bash $0 "$@"
|
||||
fi
|
||||
unset POSIX_SHELL # clear it so if we invoke other scripts, they run as ksh as well
|
||||
unset POSIX_SHELL # clear it so if we invoke other scripts, they run as bash as well
|
||||
|
||||
msg() {
|
||||
echo "configure: $*"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue