aboutsummaryrefslogtreecommitdiff
path: root/utils.sh
diff options
context:
space:
mode:
authorpigeons <pigeons>2017-01-16 11:58:17 -0800
committerpigeons <pigeons>2017-01-19 11:14:55 -0800
commit4eedef048dd06ab501a592203f51b0d71b92ff58 (patch)
tree800453ac9f8ff7eb2bddc2d0a36ff07aca8a7b81 /utils.sh
parent7f8d4ac3d200afdf421b705076f888ba25641981 (diff)
downloadmonzero-gui-4eedef048dd06ab501a592203f51b0d71b92ff58.tar.gz
monzero-gui-4eedef048dd06ab501a592203f51b0d71b92ff58.tar.xz
monzero-gui-4eedef048dd06ab501a592203f51b0d71b92ff58.zip
allow QT location to be set with an environment variable
variable for libQt5XmlPatterns path QTXML_DIR is same relative path on some systems, use that as default use utils.sh for platform default paths fix dumb copypasta
Diffstat (limited to 'utils.sh')
-rwxr-xr-xutils.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/utils.sh b/utils.sh
index d3d9fb35..ae0159ac 100755
--- a/utils.sh
+++ b/utils.sh
@@ -10,7 +10,11 @@ function get_platform {
platform="linux64"
elif [ "$(expr substr $(uname -m) 1 4)" == "i686" ]; then
platform="linux32"
- else
+ elif [ "$(expr substr $(uname -m) 1 6)" == "armv7l" ]; then
+ platform="linuxarmv7"
+ elif [ "$(expr substr $(uname -m) 1 7)" == "aarch64" ]; then
+ platform="linuxarmv8"
+ else
platform="linux"
fi
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then