diff --git a/scripts/common.sh b/scripts/common.sh index 797510d33..f39768166 100644 --- a/scripts/common.sh +++ b/scripts/common.sh @@ -46,7 +46,7 @@ safe_kill() while kill -0 "$PID" 2>/dev/null && [[ $n -le 4 ]]; do echo "Waiting ($n) ..." sleep 1 - n=$[n + 1] + n=$((n + 1)) done # process still alive? then hard-kill diff --git a/test/externalTests/common.sh b/test/externalTests/common.sh index d56912a85..14eeb9810 100644 --- a/test/externalTests/common.sh +++ b/test/externalTests/common.sh @@ -80,7 +80,7 @@ function download_project printLog "Cloning $branch of $repo..." git clone --depth 1 "$repo" -b "$branch" "$dir/ext" cd ext - echo "Current commit hash: `git rev-parse HEAD`" + echo "Current commit hash: $(git rev-parse HEAD)" } function force_truffle_version