Skip to content

Commit 55c7845

Browse files
authored
Merge pull request dtolnay#40 from dtolnay/minor
Fix "[: ==: unary operator expected"
2 parents 03a97c9 + a4398b8 commit 55c7845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/update-revs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ for rev in `releases` stable beta nightly; do
3434
git commit --quiet --message "toolchain: $rev"
3535
git checkout --quiet -b $rev
3636
push+=("$rev:refs/heads/$rev")
37-
if [ ${minor[${rev%.*}]} == $rev ]; then
37+
if [ "${minor[${rev%.*}]}" == $rev ]; then
3838
push+=("$rev:refs/heads/${rev%.*}")
3939
fi
4040
done

0 commit comments

Comments
 (0)