mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-31 00:36:10 +00:00
run_node.sh: macOS fix
This commit is contained in:
parent
cd80fab5a9
commit
d9b494dff6
@ -61,7 +61,7 @@ if [[ $NODE_ID -lt $TOTAL_NODES ]]; then
|
|||||||
|
|
||||||
pushd "$VALIDATORS_DIR" >/dev/null
|
pushd "$VALIDATORS_DIR" >/dev/null
|
||||||
for VALIDATOR in $(ls | tail -n +$(( ($VALIDATORS_PER_NODE * $NODE_ID) + 1 )) | head -n $ATTACHED_VALIDATORS); do
|
for VALIDATOR in $(ls | tail -n +$(( ($VALIDATORS_PER_NODE * $NODE_ID) + 1 )) | head -n $ATTACHED_VALIDATORS); do
|
||||||
cp -ar "$VALIDATOR" "$NODE_VALIDATORS_DIR"
|
cp -a "$VALIDATOR" "$NODE_VALIDATORS_DIR"
|
||||||
cp -a "$SECRETS_DIR/$VALIDATOR" "$NODE_SECRETS_DIR"
|
cp -a "$SECRETS_DIR/$VALIDATOR" "$NODE_SECRETS_DIR"
|
||||||
done
|
done
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user