mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix win/configure.js: now configure.in has AM_INIT_AUTOMAKE(mariadb, ...)
This commit is contained in:
@ -156,7 +156,10 @@ function GetValue(str, key)
|
||||
function GetVersion(str)
|
||||
{
|
||||
var key = "AM_INIT_AUTOMAKE(mysql, ";
|
||||
var key2 = "AM_INIT_AUTOMAKE(mariadb, ";
|
||||
var pos = str.indexOf(key); //5.0.6-beta)
|
||||
if (pos == -1)
|
||||
pos = str.indexOf(key2);
|
||||
if (pos == -1) return null;
|
||||
pos += key.length;
|
||||
var end = str.indexOf(")", pos);
|
||||
|
Reference in New Issue
Block a user