From dc55cf741010ceacad47f278423bd212e1d028d3 Mon Sep 17 00:00:00 2001 From: Vishal Bhoj Date: Tue, 7 Apr 2015 19:39:25 +0530 Subject: Fix if condition for patchset-created case Change-Id: I0076df5a4f4889f186a9fbd36608b0ea983bfca7 Signed-off-by: Vishal Bhoj --- build-scripts/build-android | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3