mirror of
https://github.com/dtolnay/rust-toolchain.git
synced 2026-04-08 17:42:12 +08:00
Fix "[: ==: unary operator expected"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user