1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-20 13:54:14 +01:00

Exclude mock from all SDKs.

This commit is contained in:
David Anderson 2021-11-01 14:23:45 -07:00
parent de10d23cf3
commit 33c5be645f

View File

@ -160,7 +160,7 @@ class MMSConfig(object):
else:
sdk_path = ResolveEnvPath(sdk.envvar, sdk.folder)
if sdk_path is None:
if use_all or sdk_name in sdk_list:
if (use_all and sdk_name != 'mock') or sdk_name in sdk_list:
raise Exception('Could not find a valid path for {0}'.format(sdk.envvar))
not_found.append(sdk_name)
continue