Skip to content
Snippets Groups Projects
Commit 87be6648 authored by Christian Goetze's avatar Christian Goetze
Browse files

Applied path from "[sldev-commits] r2604 - projects/2009/snowglobe/trunk/indra/newview"

parent 06b079a2
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@
# COMPLETENESS OR PERFORMANCE.
# $/LicenseInfo$
import sys, os
import sys, os, re
from xml.dom.minidom import parse
def main():
......@@ -43,7 +43,8 @@ def main():
config_dom = parse(src_config_name)
node = config_dom.getElementsByTagName('bindingRedirect')[0]
node.setAttribute('newVersion', manifest_assm_ver)
node.setAttribute('oldVersion', node.getAttribute('oldVersion') + manifest_assm_ver)
src_old_ver = re.match('([^-]*-).*', node.getAttribute('oldVersion')).group(1)
node.setAttribute('oldVersion', src_old_ver + manifest_assm_ver)
comment = config_dom.createComment("This file is automatically generated by the build. see indra/newview/build_win32_appConfig.py")
config_dom.insertBefore(comment, config_dom.childNodes[0])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment