Skip to content

Commit

Permalink
Support passing "DRY_RUN" as argument two
Browse files Browse the repository at this point in the history
  • Loading branch information
kj4ezj committed Jul 27, 2024
1 parent 5388edc commit 20ece23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions replay-client/install-nodeos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ else # spring
fi

## dry-run
[[ "$(echo "$2" | grep -icP '^DRY(-_)>RUN$')" == '1' ]] && export DRY_RUN='true'
if [[ "${DRY_RUN}" == 'true' ]]; then
prinf "\e[1;33mWARNING: DRY-RUN is set!\e[0m\n"
echo "LEAP_VERSION='${LEAP_VERSION}'"
Expand Down

0 comments on commit 20ece23

Please sign in to comment.