diff options
-rw-r--r-- | tools/releasetools/amend_generator.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/releasetools/amend_generator.py b/tools/releasetools/amend_generator.py index 3e8af13..70e71d4 100644 --- a/tools/releasetools/amend_generator.py +++ b/tools/releasetools/amend_generator.py @@ -180,6 +180,7 @@ class AmendGenerator(object): def MakeSymlinks(self, symlink_list): """Create symlinks, given a list of (dest, link) pairs.""" + self.DeleteFiles([i[1] for i in symlink_list]) self.script.extend(["symlink %s %s" % (i[0], self._FileRoot(i[1])) for i in sorted(symlink_list)]) |