diff --git a/scripts/update-revs.sh b/scripts/update-revs.sh index 9b4e128..7c1ea7c 100755 --- a/scripts/update-revs.sh +++ b/scripts/update-revs.sh @@ -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