In POSIX sh (which we indicate in the shebang), there is no ==
operator.
Change-Id: Ic03d38214d14cdf329b0ba272279a815bb532965
SVN_REV=`${GIT} log --pretty=full -1 | sed -n '/git-svn-id:/ s/.*\@\([^ ]*\) .*/\1/p'`
if [ -z "$SVN_REV" ]; then
MAINLINE_BRANCH=$(${GIT} config -f .gitreview --get gerrit.basebranch)
- if [ "x${MAINLINE_BRANCH}" == "x" ] ; then
+ if [ "x${MAINLINE_BRANCH}" = "x" ] ; then
MAINLINE_BRANCH=$(${GIT} config -f .gitreview --get gerrit.defaultbranch)
fi