fix snippet OS
This commit is contained in:
parent
92d17d5e20
commit
8d77aee01a
@ -1,7 +1,7 @@
|
|||||||
snippet OS
|
snippet OS
|
||||||
options head
|
options head
|
||||||
abbr determine OS type(Mac/Linux/Windows)
|
abbr determine OS type(Mac/Linux/Windows)
|
||||||
if [ "$(uname)" == "Darwin" ]; then
|
if [[ "$(uname)" == "Darwin" ]]; then
|
||||||
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
|
elif [[ "$(expr substr $(uname -s) 1 5)" == "Linux" ]]; then
|
||||||
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ]; then
|
elif [[ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ]]; then
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user