Skip to content

Commit a67fd6f

Browse files
author
Thomas Mieslinger
committed
detect Solaris derivates and add /usr/gnu/bin to PATH
1 parent 8103b10 commit a67fd6f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

getssl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1824,6 +1824,14 @@ get_os() { # function to get the current Operating System
18241824
os="cygwin"
18251825
elif [[ ${uname_res:0:5} == "MINGW" ]]; then
18261826
os="mingw"
1827+
elif [[ ${uname_res} == "SunOS" ]]; then
1828+
os="solaris"
1829+
if [ -d /usr/gnu/bin ]; then
1830+
export PATH=/usr/gnu/bin:$PATH
1831+
else
1832+
echo "Path with required GNU commands not found, please install /usr/gnu/bin"
1833+
exit 1
1834+
fi
18271835
else
18281836
os="unknown"
18291837
fi

0 commit comments

Comments
 (0)