diff options
author | iggy@amd64.(none) <> | 2007-06-01 16:49:02 -0400 |
---|---|---|
committer | iggy@amd64.(none) <> | 2007-06-01 16:49:02 -0400 |
commit | 2147bb154904d2f45822f8563767e94bbd731513 (patch) | |
tree | 5d3af849e8301153ac6176cdce74141b6d7f6bca /win | |
parent | b0692ac99c8abf36ad5704390c92127e08c1f1ac (diff) | |
parent | 5fc6a73b56f15408ad81267ada8f1162254adbcf (diff) | |
download | mariadb-git-2147bb154904d2f45822f8563767e94bbd731513.tar.gz |
Merge amd64.(none):/src/bug24732/my50-bug24732
into amd64.(none):/src/bug24732/my51-bug24732
Diffstat (limited to 'win')
-rwxr-xr-x | win/create_manifest.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/win/create_manifest.js b/win/create_manifest.js index ac62cb2a8c2..520ecec21b8 100755 --- a/win/create_manifest.js +++ b/win/create_manifest.js @@ -27,7 +27,11 @@ try var app_name= parts[1]; break; case "version": - var app_version= parts[1]; + var supp_version= parts[1]; + // Clean up the supplied version string. + var end= supp_version.indexOf("-"); + if (end == -1) end= supp_version.length; + var app_version= supp_version.substring(0, end); app_version+= ".0"; break; case "arch": |