Bump MySQL version to 5.5 (#466)

* Bump MySQL version to 5.5

* Let's see how Travis-CI goes

* Let's see how AppVeyor goes

* Adjust windows library path
This commit is contained in:
Vincent Herbet
2017-10-31 23:06:30 +01:00
committed by GitHub
parent 7fe7cd746f
commit 175d49293c
6 changed files with 26 additions and 18 deletions

View File

@ -88,7 +88,7 @@ class AMXXConfig(object):
mysql_path = builder.options.mysql_path
if not len(mysql_path):
mysql_path = os.getenv('MYSQL5', '')
mysql_path = os.getenv('MYSQL55', '')
if len(mysql_path):
self.mysql_path = os.path.join(builder.originalCwd, mysql_path)
@ -96,7 +96,7 @@ class AMXXConfig(object):
raise Exception('Metamod path does not exist: {0}'.format(mysql_path))
else:
try_paths = [
os.path.join(builder.sourcePath, '..', 'mysql-5.0'),
os.path.join(builder.sourcePath, '..', 'mysql-5.5'),
]
for try_path in try_paths:
if os.path.exists(try_path):