From 9343a09d9a812ddd3dda10ecf9d2abf01ea75d98 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 16 Jun 2014 18:52:22 +0300 Subject: Make manifest URL rewriting option (REWRITE_MANIFEST=0 to disable). Change-Id: I73fabc582ce021f25113511c34aab949eb4659a6 --- build-scripts/helpers | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build-scripts/helpers b/build-scripts/helpers index 5a2ad9d..3338d5c 100644 --- a/build-scripts/helpers +++ b/build-scripts/helpers @@ -41,9 +41,11 @@ repo-sync-from-mirror () { mkdir -p out cp .repo/manifest.xml out/source-manifest.xml - echo Replace Linaro git URLs with lightweight http git URLs. - ${BUILD_SCRIPT_ROOT}/rewrite-manifest.py .repo/manifest.xml -o processed-manifest.xml -u "${MANIFEST_REPO}" - cp processed-manifest.xml .repo/manifest.xml + if [ "$REWRITE_MANIFEST" != "0" ]; then + echo Replace Linaro git URLs with lightweight http git URLs. + ${BUILD_SCRIPT_ROOT}/rewrite-manifest.py .repo/manifest.xml -o processed-manifest.xml -u "${MANIFEST_REPO}" + cp processed-manifest.xml .repo/manifest.xml + fi echo ---------------------------- repo-sync-stubborn -- cgit v1.2.3