mirror of
https://github.com/dtolnay/rust-toolchain.git
synced 2024-12-22 15:45:50 +02:00
Merge pull request #40 from dtolnay/minor
Fix "[: ==: unary operator expected"
This commit is contained in:
commit
55c7845fad
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ for rev in `releases` stable beta nightly; do
|
||||||
git commit --quiet --message "toolchain: $rev"
|
git commit --quiet --message "toolchain: $rev"
|
||||||
git checkout --quiet -b $rev
|
git checkout --quiet -b $rev
|
||||||
push+=("$rev:refs/heads/$rev")
|
push+=("$rev:refs/heads/$rev")
|
||||||
if [ ${minor[${rev%.*}]} == $rev ]; then
|
if [ "${minor[${rev%.*}]}" == $rev ]; then
|
||||||
push+=("$rev:refs/heads/${rev%.*}")
|
push+=("$rev:refs/heads/${rev%.*}")
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue