mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-20 13:54:14 +01:00
Don't build SDKs that aren't present.
This commit is contained in:
parent
33c5be645f
commit
3f583d7c4e
@ -157,6 +157,8 @@ class MMSConfig(object):
|
||||
if sdk.shouldBuild(self.all_targets):
|
||||
if builder.options.hl2sdk_root:
|
||||
sdk_path = os.path.join(builder.options.hl2sdk_root, sdk.folder)
|
||||
if not os.path.exists(sdk_path):
|
||||
sdk_path = None
|
||||
else:
|
||||
sdk_path = ResolveEnvPath(sdk.envvar, sdk.folder)
|
||||
if sdk_path is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user