diff --git a/src/new_build.sh b/src/new_build.sh index bebe9ce..713e008 100755 --- a/src/new_build.sh +++ b/src/new_build.sh @@ -215,9 +215,9 @@ for codename in ${devices//,/ }; do if [ "$CALL_REPO_INIT" = true ]; then echo ">> [$(date)] (Re)initializing branch repository" | tee -a "$repo_log" if [ "$LOCAL_MIRROR" = true ]; then - ( yes||: ) | repo init -u https://github.com/LineageOS/android.git --reference "$MIRROR_DIR" -b "$branch" -g default,-darwin,-muppets,muppets_"${DEVICE}" --git-lfs &>> "$repo_log" + ( yes||: ) | repo init -u https://github.com/LineageOS/android.git --reference "$MIRROR_DIR" -b "$branch" -g default,-darwin,-muppets,muppets_"${codename}" --git-lfs &>> "$repo_log" else - ( yes||: ) | repo init -u https://github.com/LineageOS/android.git -b "$branch" -g default,-darwin,-muppets,muppets_"${DEVICE}" --git-lfs &>> "$repo_log" + ( yes||: ) | repo init -u https://github.com/LineageOS/android.git -b "$branch" -g default,-darwin,-muppets,muppets_"${codename}" --git-lfs &>> "$repo_log" fi else echo ">> [$(date)] Calling repo init disabled"