Browse Source

detect Solaris derivates and add /usr/gnu/bin to PATH

pull/729/head
Thomas Mieslinger 4 years ago
parent
commit
a67fd6fa5b
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      getssl

+ 8
- 0
getssl View File

@ -1824,6 +1824,14 @@ get_os() { # function to get the current Operating System
os="cygwin"
elif [[ ${uname_res:0:5} == "MINGW" ]]; then
os="mingw"
elif [[ ${uname_res} == "SunOS" ]]; then
os="solaris"
if [ -d /usr/gnu/bin ]; then
export PATH=/usr/gnu/bin:$PATH
else
echo "Path with required GNU commands not found, please install /usr/gnu/bin"
exit 1
fi
else
os="unknown"
fi


Loading…
Cancel
Save