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

Commit 67ac7f29 authored by Jackeagle's avatar Jackeagle
Browse files

build.sh: Ensure a clean reset of the default manifest before repo init

parent db654811
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -179,7 +179,8 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then
  # Reset the default manifest if it exists
  if [ -f ".repo/manifests/default.xml" ]; then
    cd .repo/manifests/
    git checkout default.xml
    git reset --hard HEAD
    git clean -fd
    cd ../..
  fi