aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2017-02-01 17:47:40 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2017-02-01 12:18:38 +0000
commitd6f4eacc3ef2c324be049c9e60989f9c91b31557 (patch)
treeecf2dd0c4b9a14d4a0dfb1204606189ff760e71e
parent9bf5a72c4d85098e0aa0404ee09cab0b5c7576e4 (diff)
downloadlinaro-android-build-tools-d6f4eacc3ef2c324be049c9e60989f9c91b31557.tar.gz
Remove manifest as well
In case of force update to manifest repo init fails. Change-Id: I856d70c50b8db0e936b4ce550bc08fbefbb4750a Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--build-scripts/build-android6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-scripts/build-android b/build-scripts/build-android
index 43a236c..ca3d245 100644
--- a/build-scripts/build-android
+++ b/build-scripts/build-android
@@ -61,9 +61,9 @@ else
wget -nv --no-check-certificate $TOOLCHAIN_URL
fi
- # Remove any old local manifest which can break repo init if duplicate repository
- # are found
- rm -rf .repo/local_manifests
+ # Remove any old local manifest and manifest which can break repo init if
+ # duplicate repository are found or forceful manifest update
+ rm -rf .repo/local_manifests .repo/manifest*
if [ -n "$REPO_SEED_URL" ]; then
repo-sync-from-seed "${1}"