diff options
author | Doug Zongker <dougz@android.com> | 2009-08-03 16:55:57 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2009-08-03 16:55:57 -0700 |
commit | e8cb956b8aeefb7e940d25c95b107505656cc505 (patch) | |
tree | ae0cca4d8aecd2e45a85d13dcfa9ed4a7eb259c2 /tools/releasetools | |
parent | c97ea27f86e339a43da314755d6350657960abe9 (diff) | |
parent | 828bbfb18838f04b93ffbed0d7d3b597beaa534c (diff) | |
download | build-e8cb956b8aeefb7e940d25c95b107505656cc505.zip build-e8cb956b8aeefb7e940d25c95b107505656cc505.tar.gz build-e8cb956b8aeefb7e940d25c95b107505656cc505.tar.bz2 |
am 828bbfb1: in amend, remove symlink targets before creating them
Merge commit '828bbfb18838f04b93ffbed0d7d3b597beaa534c'
* commit '828bbfb18838f04b93ffbed0d7d3b597beaa534c':
in amend, remove symlink targets before creating them
Diffstat (limited to 'tools/releasetools')
-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)]) |