aboutsummaryrefslogtreecommitdiff
path: root/utils.sh
diff options
context:
space:
mode:
authorpigeons <pigeons>2017-01-27 09:10:08 -0800
committerpigeons <pigeons>2017-01-27 09:10:08 -0800
commit7b94a47350f700fb6f8a8773bccd944fce6db24d (patch)
tree09e5314392e4ca319172cf91eb3237487d2cd5eb /utils.sh
parent4eedef048dd06ab501a592203f51b0d71b92ff58 (diff)
downloadmonzero-gui-7b94a47350f700fb6f8a8773bccd944fce6db24d.tar.gz
monzero-gui-7b94a47350f700fb6f8a8773bccd944fce6db24d.tar.xz
monzero-gui-7b94a47350f700fb6f8a8773bccd944fce6db24d.zip
detect freebsd, build for armv7, configure general build for unknown platforms
Diffstat (limited to 'utils.sh')
-rwxr-xr-xutils.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils.sh b/utils.sh
index ae0159ac..556cc5d3 100755
--- a/utils.sh
+++ b/utils.sh
@@ -5,6 +5,8 @@ function get_platform {
local platform="unknown"
if [ "$(uname)" == "Darwin" ]; then
platform="darwin"
+ elif [ "$(uname)" == "FreeBSD" ]; then
+ platform="freebsd"
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
if [ "$(expr substr $(uname -m) 1 6)" == "x86_64" ]; then
platform="linux64"