aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build-scripts/build-android2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-scripts/build-android b/build-scripts/build-android
index b6ba5b7..a0c17a7 100644
--- a/build-scripts/build-android
+++ b/build-scripts/build-android
@@ -67,7 +67,7 @@ else
repo-sync-from-mirror "${1}"
fi
- if [ -n "$GERRIT_PROJECT" ] && [ $GERRIT_EVENT_TYPE -eq "patchset-created" ]; then
+ if [ -n "$GERRIT_PROJECT" ] && [ $GERRIT_EVENT_TYPE == "patchset-created" ]; then
if [ "$GERRIT_PROJECT" == "platform/manifest" ]; then
cd .repo/local_manifests;
git pull http://review.android.git.linaro.org/platform/manifest $GERRIT_REFSPEC