bug 387665, don't overwrite existing files, r=rcambell
git-svn-id: svn://10.0.0.236/trunk@229699 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -127,7 +127,8 @@ def createLocalization(source, dest, apps, exceptions = {}):
|
||||
if ignore and ignore.search(f):
|
||||
# ignoring some files
|
||||
continue
|
||||
copy2(os.path.join(basepath, root, f), l10npath)
|
||||
if not os.path.exists(os.path.join(l10npath,f)):
|
||||
copy2(os.path.join(basepath, root, f), l10npath)
|
||||
|
||||
if __name__ == '__main__':
|
||||
p = OptionParser()
|
||||
|
||||
Reference in New Issue
Block a user