mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
external test scripts: Replace the old dollar expressions with newer variants
This commit is contained in:
parent
0a29218848
commit
3590311e6f
@ -46,7 +46,7 @@ safe_kill()
|
|||||||
while kill -0 "$PID" 2>/dev/null && [[ $n -le 4 ]]; do
|
while kill -0 "$PID" 2>/dev/null && [[ $n -le 4 ]]; do
|
||||||
echo "Waiting ($n) ..."
|
echo "Waiting ($n) ..."
|
||||||
sleep 1
|
sleep 1
|
||||||
n=$[n + 1]
|
n=$((n + 1))
|
||||||
done
|
done
|
||||||
|
|
||||||
# process still alive? then hard-kill
|
# process still alive? then hard-kill
|
||||||
|
@ -80,7 +80,7 @@ function download_project
|
|||||||
printLog "Cloning $branch of $repo..."
|
printLog "Cloning $branch of $repo..."
|
||||||
git clone --depth 1 "$repo" -b "$branch" "$dir/ext"
|
git clone --depth 1 "$repo" -b "$branch" "$dir/ext"
|
||||||
cd ext
|
cd ext
|
||||||
echo "Current commit hash: `git rev-parse HEAD`"
|
echo "Current commit hash: $(git rev-parse HEAD)"
|
||||||
}
|
}
|
||||||
|
|
||||||
function force_truffle_version
|
function force_truffle_version
|
||||||
|
Loading…
Reference in New Issue
Block a user