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

Commit 247d80bf authored by Martin Brabham's avatar Martin Brabham
Browse files

Fix --run-bootstrap for build.py

FileNotFound exception when unlinking a non-existent path.

Bug: 217952161
Test: Bootstrap completes when common-mk folder doesn't exist
Tag: #floss
Change-Id: Id7dba2a68e67353a557b2745c33d5b974e595470
parent fa3e4cb6
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -610,7 +610,10 @@ class Bootstrap():
        # Create symlinks
        for pairs in symlinks:
            (src, dst) = pairs
            try:
                os.unlink(dst)
            except Exception as e:
                print(e)
            os.symlink(src, dst)

        # Write to setup complete file so we don't repeat this step