+1
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
When a runner's /srv/src volume already had .repo/repo/ from a previous
attempt, cp -R src dest with an existing dest directory nests the source
inside (creating .repo/repo/repo/main.py). _FindRepo() then fails to
find main.py at the expected path and walks up to the parent Android
tree, causing repo init to reuse the wrong checkout.
Add rm -rf before cp -R so the copy always overwrites cleanly.
Signed-off-by:
Jackeagle <jackeagle102@gmail.com>