a3d7b58b83
Minus obsolete 4.0 files
14 lines
274 B
Bash
14 lines
274 B
Bash
get_current_platform() {
|
|
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
|
echo l
|
|
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
|
echo m
|
|
elif [[ "$OSTYPE" == "cygwin" ]]; then
|
|
echo w
|
|
elif [[ "$OSTYPE" == "msys" ]]; then
|
|
echo w
|
|
# Unknown, so probably Unix-y
|
|
else
|
|
echo l
|
|
fi
|
|
}
|