From fbafff486a5cd6846c2df76b5c48c492090b7707 Mon Sep 17 00:00:00 2001 From: Pete Fotheringham Date: Fri, 1 Sep 2023 11:35:50 +0100 Subject: [PATCH] Revert build.sh changes to repo init Revert the changes from b789cf0d622a513904d71704d1eabef0499e0d2f --- src/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/build.sh b/src/build.sh index 89bb168..611b2ba 100755 --- a/src/build.sh +++ b/src/build.sh @@ -73,7 +73,7 @@ if [ "$LOCAL_MIRROR" = true ]; then if [ ! -d .repo ]; then echo ">> [$(date)] Initializing mirror repository" | tee -a "$repo_log" - ( yes||: ) | repo init $REPO_INIT_ARGS -u https://github.com/LineageOS/mirror --mirror --no-clone-bundle -p linux --git-lfs &>> "$repo_log" + ( yes||: ) | repo init -u https://github.com/LineageOS/mirror --mirror --no-clone-bundle -p linux --git-lfs &>> "$repo_log" fi # Copy local manifests to the appropriate folder in order take them into consideration @@ -169,9 +169,9 @@ for branch in ${BRANCH_NAME//,/ }; do echo ">> [$(date)] (Re)initializing branch repository" | tee -a "$repo_log" if [ "$LOCAL_MIRROR" = true ]; then - ( yes||: ) | repo init $REPO_INIT_ARGS -u https://github.com/LineageOS/android.git --reference "$MIRROR_DIR" -b "$branch" --git-lfs &>> "$repo_log" + ( yes||: ) | repo init -u https://github.com/LineageOS/android.git --reference "$MIRROR_DIR" -b "$branch" --git-lfs &>> "$repo_log" else - ( yes||: ) | repo init $REPO_INIT_ARGS -u https://github.com/LineageOS/android.git -b "$branch" --git-lfs &>> "$repo_log" + ( yes||: ) | repo init -u https://github.com/LineageOS/android.git -b "$branch" --git-lfs &>> "$repo_log" fi # Copy local manifests to the appropriate folder in order take them into consideration