diff options
author | Vishal Bhoj <vishal.bhoj@linaro.org> | 2015-04-07 19:39:25 +0530 |
---|---|---|
committer | Vishal Bhoj <vishal.bhoj@linaro.org> | 2015-04-07 19:39:25 +0530 |
commit | dc55cf741010ceacad47f278423bd212e1d028d3 (patch) | |
tree | ce43f2d1d71c23065c4559f1f9761e63e1004cf8 | |
parent | ec08105594b675c4ae2a9e8b2025c3c778c169e6 (diff) |
Fix if condition for patchset-created case
Change-Id: I0076df5a4f4889f186a9fbd36608b0ea983bfca7
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r-- | build-scripts/build-android | 2 |
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 |