From b4b2e175f67dd705f347ed02ee8ce3d0b8305465 Mon Sep 17 00:00:00 2001 From: Hui Yiqun Date: Fri, 21 Apr 2017 11:15:18 +0800 Subject: [PATCH] aosp.sh: take use of TUNASYNC_UPSTREAM_URL --- aosp.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aosp.sh b/aosp.sh index 3f77d71..75bcb17 100755 --- a/aosp.sh +++ b/aosp.sh @@ -3,11 +3,12 @@ set -e REPO=${REPO:-"/usr/local/bin/repo"} USE_BITMAP_INDEX=${USE_BITMAP_INDEX:-"0"} +UPSTREAM=${TUNASYNC_UPSTREAM_URL:-"https://android.googlesource.com/mirror/manifest"} function repo_init() { mkdir -p $TUNASYNC_WORKING_DIR cd $TUNASYNC_WORKING_DIR - $REPO init -u https://android.googlesource.com/mirror/manifest --mirror + $REPO init -u $UPSTREAM --mirror } function repo_sync() {