Commit 8b1a98b3 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

remove bogus uppercasing of the replaced variable name



Change-Id: I8b506a7ab52a12f3ab8a006788fea7ab5c29c8b8
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@digia.com>
parent 89a1f062
...@@ -43,7 +43,7 @@ Module { ...@@ -43,7 +43,7 @@ Module {
vars['IDE_VERSION_MINOR'] = ide_version_minor; vars['IDE_VERSION_MINOR'] = ide_version_minor;
vars['IDE_VERSION_RELEASE'] = ide_version_release; vars['IDE_VERSION_RELEASE'] = ide_version_release;
for (i in vars) { for (i in vars) {
all = all.replace(new RegExp('\\\$\\\$' + i.toUpperCase() + '(?!\w)', 'g'), vars[i]); all = all.replace(new RegExp('\\\$\\\$' + i + '(?!\w)', 'g'), vars[i]);
} }
var file = new TextFile(output.fileName, TextFile.WriteOnly); var file = new TextFile(output.fileName, TextFile.WriteOnly);
file.truncate(); file.truncate();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment