Skip to content

Commit

Permalink
Revert build.sh changes to repo init
Browse files Browse the repository at this point in the history
Revert the changes from b789cf0
  • Loading branch information
petefoth authored Sep 1, 2023
1 parent 0bcebb7 commit fbafff4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fbafff4

Please sign in to comment.