mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 10:02:47 +03:00
pkg/urbit/configure: cpu=$(uname -m)
make pkg/urbit/configure actually able to detect CPU architecture when $HOST doesn't exist
This commit is contained in:
parent
58f8fe04ec
commit
d7b94e1219
2
pkg/urbit/configure
vendored
2
pkg/urbit/configure
vendored
@ -30,7 +30,7 @@ if [ -n "${HOST-}" ]
|
||||
then os=$(sed 's$^[^-]*-\([^-]*\)-.*$\1$' <<< "$HOST")
|
||||
cpu=$(sed 's$-.*$$' <<< ${HOST})
|
||||
else os=$(uname -s)
|
||||
cpu=$(uname -p)
|
||||
cpu=$(uname -m)
|
||||
fi
|
||||
|
||||
case $(tr A-Z a-z <<< $cpu) in
|
||||
|
Loading…
Reference in New Issue
Block a user