[node] fix the download path of node program

Signed-off-by: Leo Chen <leo@harmony.one>
pull/893/head
Leo Chen 6 years ago
parent e54d4fd0ca
commit 21aa375850
  1. 9
      scripts/node.sh

@ -87,8 +87,9 @@ fi
if [ -z "$1" ]; then if [ -z "$1" ]; then
echo "Usage: $0 account_index_number" echo "Usage: $0 account_index_number"
echo echo
echo "Please provide account index. Valid ranges are 44-49, 94-99, 144-149, 194-199." echo "Please provide account index."
echo "Please contact us in #nodes channel of discord if not sure which one to use." echo "For foundational nodes, please follow the instructions in discord #foundational-nodes channel"
echo "to get your account index number."
echo echo
exit 1 exit 1
fi fi
@ -103,11 +104,11 @@ OS=$(uname -s)
REL=drum REL=drum
if [ "$OS" == "Darwin" ]; then if [ "$OS" == "Darwin" ]; then
FOLDER=release/$REL/darwin-x86_64/ FOLDER=release/darwin-x86_64/$REL/
BIN=( harmony libbls384.dylib libcrypto.1.0.0.dylib libgmp.10.dylib libgmpxx.4.dylib libmcl.dylib ) BIN=( harmony libbls384.dylib libcrypto.1.0.0.dylib libgmp.10.dylib libgmpxx.4.dylib libmcl.dylib )
fi fi
if [ "$OS" == "Linux" ]; then if [ "$OS" == "Linux" ]; then
FOLDER=release/$REL/linux-x86_64/ FOLDER=release/linux-x86_64/$REL/
BIN=( harmony libbls384.so libcrypto.so.10 libgmp.so.10 libgmpxx.so.4 libmcl.so ) BIN=( harmony libbls384.so libcrypto.so.10 libgmp.so.10 libgmpxx.so.4 libmcl.so )
fi fi

Loading…
Cancel
Save