diff options
| author | pigeons <pigeons> | 2017-01-16 11:58:17 -0800 |
|---|---|---|
| committer | pigeons <pigeons> | 2017-01-19 11:14:55 -0800 |
| commit | 4eedef048dd06ab501a592203f51b0d71b92ff58 (patch) | |
| tree | 800453ac9f8ff7eb2bddc2d0a36ff07aca8a7b81 /utils.sh | |
| parent | 7f8d4ac3d200afdf421b705076f888ba25641981 (diff) | |
| download | monzero-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-x | utils.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |
