diff --git a/build/envsetup.sh b/build/envsetup.sh index 47995f4a..748ffbbe 100644 --- a/build/envsetup.sh +++ b/build/envsetup.sh @@ -573,7 +573,7 @@ EOF esac shift git push $@ ssh://$user@$review:29418/$project \ - $local_branch:refs/for/$remote_branch || return 1 + ${local_branch}:refs/for/$remote_branch || return 1 ;; changes|for) if [ "$FUNCNAME" = "lineagegerrit" ]; then