cp -l is not portable enough (not working on macOS)

This commit is contained in:
Zahary Karadjov 2020-01-23 23:18:45 +02:00 committed by zah
parent 81f031ea1b
commit f30604db28

View File

@ -42,7 +42,7 @@ if [[ "$BOOTSTRAP_NODE_NETWORK_TYPE" != "$NETWORK_TYPE" ]]; then
--nimcache:nimcache/bootstrap_node \ --nimcache:nimcache/bootstrap_node \
-d:"NETWORK_TYPE=$BOOTSTRAP_NODE_NETWORK_TYPE" -d:"NETWORK_TYPE=$BOOTSTRAP_NODE_NETWORK_TYPE"
else else
cp -l $BEACON_NODE_BIN $BOOTSTRAP_NODE_BIN cp $BEACON_NODE_BIN $BOOTSTRAP_NODE_BIN
fi fi
if [ ! -f "${LAST_VALIDATOR}" ]; then if [ ! -f "${LAST_VALIDATOR}" ]; then