Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6cc54517 authored by Romain Hunault's avatar Romain Hunault
Browse files

Change variables names

parent 90d15d97
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -42,10 +42,10 @@ ENV DEVICE_LIST ''
ENV RELEASE_TYPE 'UNOFFICIAL'

# Repo use for build
ENV REPO_URL 'https://github.com/LineageOS/android.git'
ENV REPO 'https://github.com/LineageOS/android.git'

# Repo use for build
ENV MIRROR_URL 'https://github.com/LineageOS/mirror'
ENV MIRROR 'https://github.com/LineageOS/mirror'

# OTA URL that will be used inside CMUpdater
# Use this in combination with LineageOTA to make sure your device can auto-update itself from this buildbot
+3 −3
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ if [ "$LOCAL_MIRROR" = true ]; then

  if [ ! -d .repo ]; then
    echo ">> [$(date)] Initializing mirror repository" | tee -a "$repo_log"
    yes | repo init -u "$MIRROR_URL" --mirror --no-clone-bundle -p linux &>> "$repo_log"
    yes | repo init -u "$MIRROR" --mirror --no-clone-bundle -p linux &>> "$repo_log"
  fi

  # Copy local manifests to the appropriate folder in order take them into consideration
@@ -102,9 +102,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 -u "$REPO_URL" --reference "$MIRROR_DIR" -b "$branch" &>> "$repo_log"
      yes | repo init -u "$REPO" --reference "$MIRROR_DIR" -b "$branch" &>> "$repo_log"
    else
      yes | repo init -u "$REPO_URL" -b "$branch" &>> "$repo_log"
      yes | repo init -u "$REPO" -b "$branch" &>> "$repo_log"
    fi

    # Copy local manifests to the appropriate folder in order take them into consideration