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:
axel%pike.org
2007-07-11 14:23:37 +00:00
parent 36bffb1678
commit c3727f031f

View File

@@ -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()