From d9b494dff660cf1c1b57c7017d8d9634d0541a9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Sat, 13 Jun 2020 02:50:35 +0200 Subject: [PATCH] run_node.sh: macOS fix --- tests/simulation/run_node.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/simulation/run_node.sh b/tests/simulation/run_node.sh index 42ef0f06e..39621bc3d 100755 --- a/tests/simulation/run_node.sh +++ b/tests/simulation/run_node.sh @@ -61,7 +61,7 @@ if [[ $NODE_ID -lt $TOTAL_NODES ]]; then pushd "$VALIDATORS_DIR" >/dev/null 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" done popd >/dev/null