mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-26 19:54:14 +01:00
Update manifest helpers and fix sdk selection bug.
This commit is contained in:
parent
01a7fc57c4
commit
ef16c78024
@ -95,12 +95,16 @@ class MMSConfig(object):
|
|||||||
use_present = sdk_list[0] == 'present'
|
use_present = sdk_list[0] == 'present'
|
||||||
if sdk_list[0] == '':
|
if sdk_list[0] == '':
|
||||||
sdk_list = []
|
sdk_list = []
|
||||||
|
if use_all or use_present:
|
||||||
|
sdk_list = []
|
||||||
|
|
||||||
not_found = []
|
not_found = []
|
||||||
for sdk_name, sdk in SdkHelpers.getSdks(builder):
|
for sdk_name, sdk in SdkHelpers.getSdks(builder):
|
||||||
self.sdk_manifests.append(sdk)
|
self.sdk_manifests.append(sdk)
|
||||||
if not self.shouldIncludeSdk(sdk):
|
if not self.shouldIncludeSdk(sdk):
|
||||||
continue
|
continue
|
||||||
|
if sdk_list and sdk_name not in sdk_list:
|
||||||
|
continue
|
||||||
|
|
||||||
sdk_path = self.findSdkPath(sdk_name)
|
sdk_path = self.findSdkPath(sdk_name)
|
||||||
if sdk_path is None:
|
if sdk_path is None:
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit fa9ffa26e5c3a10870ce7364d5b73aa3a98ccd97
|
Subproject commit 60cbe38807c0fae03d5f2abcce519a2ae4e04cd0
|
Loading…
x
Reference in New Issue
Block a user