summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2010-02-06 17:13:42 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2010-02-06 17:13:42 +0100
commit7257047dcefd2f2250e629b2aa3bcd84f980cf90 (patch)
treeccd7ed37b88de38a47462ff2a6c95aec6ad8bc08 /win
parent4d0b901a55e1f27cb7e5caedced1ebbb923d366b (diff)
parentb38ef2b5f7bc231b63b770c28688ee9f0109c88b (diff)
downloadmariadb-git-7257047dcefd2f2250e629b2aa3bcd84f980cf90.tar.gz
merge
Diffstat (limited to 'win')
-rw-r--r--win/configure.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/configure.js b/win/configure.js
index 07dccb66f83..00a66b32b64 100644
--- a/win/configure.js
+++ b/win/configure.js
@@ -140,11 +140,11 @@ function GetValue(str, key)
function GetVersion(str)
{
- var key = "AM_INIT_AUTOMAKE(mysql, ";
- var pos = str.indexOf(key); //5.0.6-beta)
+ var key = "AC_INIT([MySQL Server], [";
+ var pos = str.indexOf(key);
if (pos == -1) return null;
pos += key.length;
- var end = str.indexOf(")", pos);
+ var end = str.indexOf("]", pos);
if (end == -1) return null;
return str.substring(pos, end);
}