mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-12-27 00:55:17 +00:00
fix arm64 architecture error (#224)
This commit is contained in:
parent
367566ea88
commit
d909b3c764
@ -3,7 +3,7 @@
|
|||||||
start_process() {
|
start_process() {
|
||||||
version=$(cat config/version.go | grep -A 1 "func GetVersion() \[\]byte {" | grep -Eo '0x[0-9a-fA-F]+' | xargs printf "%d.%d.%d")
|
version=$(cat config/version.go | grep -A 1 "func GetVersion() \[\]byte {" | grep -Eo '0x[0-9a-fA-F]+' | xargs printf "%d.%d.%d")
|
||||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||||
if [[ $arch == arm* ]]; then
|
if [[ $(uname -m) == "aarch64"* ]]; then
|
||||||
./node-$version-linux-arm64 &
|
./node-$version-linux-arm64 &
|
||||||
main_process_id=$!
|
main_process_id=$!
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user