Skip to content

Commit

Permalink
Replace "&>>" redirect to equivalent syntax in order to fix errors in…
Browse files Browse the repository at this point in the history
… MacOS

"&>>" is supported since bash v4 but the bash version bundled in macOS(11.6.1) is v3.
  • Loading branch information
ackintosh committed Jan 16, 2022
1 parent 46f4d1e commit a54f119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/local_testnet/start_local_testnet.sh
Expand Up @@ -69,7 +69,7 @@ execute_command() {
EX_NAME=$2
shift
shift
CMD="$EX_NAME $@ &>> $LOG_DIR/$LOG_NAME"
CMD="$EX_NAME $@ >> $LOG_DIR/$LOG_NAME 2>&1"
echo "executing: $CMD"
echo "$CMD" > "$LOG_DIR/$LOG_NAME"
eval "$CMD &"
Expand Down

0 comments on commit a54f119

Please sign in to comment.