fix uname flag
This commit is contained in:
parent
f143405869
commit
1d05d201e5
@ -13,7 +13,7 @@ fi
|
|||||||
if [ $(uname -s | grep -c BSD) -gt 0 ]; then # BSD
|
if [ $(uname -s | grep -c BSD) -gt 0 ]; then # BSD
|
||||||
echo -e "${green}Platform:$reset_color $(uname -s) $(uname -r) $(uname -p)"
|
echo -e "${green}Platform:$reset_color $(uname -s) $(uname -r) $(uname -p)"
|
||||||
|
|
||||||
elif [ $(uname -s | grep -c Msys) -gt 0 ]; then # Windows
|
elif [ $(uname -o | grep -c Msys) -gt 0 ]; then # Windows
|
||||||
echo -e "${green}Platform:$reset_color $(uname -o) $(uname -r)"
|
echo -e "${green}Platform:$reset_color $(uname -o) $(uname -r)"
|
||||||
|
|
||||||
else # Linux-y things
|
else # Linux-y things
|
||||||
|
Loading…
x
Reference in New Issue
Block a user