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

Commit 04c16bdd authored by Jackeagle's avatar Jackeagle Committed by Jackeagle
Browse files

build.sh: Remove all local_manifests if REPO_CUSTOM_MANIFEST set

parent 8cd99edb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -200,6 +200,7 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then

  if [ -n "$REPO_CUSTOM_MANIFEST" ] && [ "$REPO_CUSTOM_MANIFEST" != "false" ]; then
      wget -O .repo/manifests/default.xml "$REPO_CUSTOM_MANIFEST"
      rm -f .repo/local_manifests/*.xml
  fi

  if [ -z "$REPO_CUSTOM_MANIFEST" ] || [ "$REPO_CUSTOM_MANIFEST" = "false" ]; then