improved macos detect
This commit is contained in:
parent
84637f4f32
commit
1b63f49985
@ -5,7 +5,7 @@ if [ "uname -r | grep -oE microsoft" = "microsoft" ]
|
||||
OS=windows
|
||||
#echo ${red}WSL Not Supported!${reset} 1>&2
|
||||
#exit
|
||||
elif [ "uname -a | grep -oE Darwin | tail -n1" = "Darwin" ]
|
||||
elif [ $(uname -a | grep -oE Darwin | tail -n1) = "Darwin" ]
|
||||
then
|
||||
OS=macos
|
||||
export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"
|
||||
|
Loading…
x
Reference in New Issue
Block a user