Skip to content

Commit

Permalink
Merge pull request #40 from dtolnay/minor
Browse files Browse the repository at this point in the history
Fix "[: ==: unary operator expected"
  • Loading branch information
dtolnay authored Oct 25, 2022
2 parents 03a97c9 + a4398b8 commit 55c7845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-revs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ for rev in `releases` stable beta nightly; do
git commit --quiet --message "toolchain: $rev"
git checkout --quiet -b $rev
push+=("$rev:refs/heads/$rev")
if [ ${minor[${rev%.*}]} == $rev ]; then
if [ "${minor[${rev%.*}]}" == $rev ]; then
push+=("$rev:refs/heads/${rev%.*}")
fi
done
Expand Down

0 comments on commit 55c7845

Please sign in to comment.