aboutsummaryrefslogtreecommitdiff
path: root/utils.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils.sh')
-rwxr-xr-xutils.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils.sh b/utils.sh
index 27304a7d..d3d9fb35 100755
--- a/utils.sh
+++ b/utils.sh
@@ -8,8 +8,10 @@ function get_platform {
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
if [ "$(expr substr $(uname -m) 1 6)" == "x86_64" ]; then
platform="linux64"
- else
+ elif [ "$(expr substr $(uname -m) 1 4)" == "i686" ]; then
platform="linux32"
+ else
+ platform="linux"
fi
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then
platform="mingw64"