mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
aosp.sh: take use of TUNASYNC_UPSTREAM_URL
This commit is contained in:
parent
3b13366b1c
commit
b4b2e175f6
3
aosp.sh
3
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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user