mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-26 19:54:14 +01:00
Fix build.
This commit is contained in:
parent
e0bb71f189
commit
fb6009bbb0
@ -150,7 +150,7 @@ class MMSConfig(object):
|
||||
sdk_path = os.path.join(builder.options.hl2sdk_root, sdk.folder)
|
||||
else:
|
||||
sdk_path = ResolveEnvPath(sdk.envvar, sdk.folder)
|
||||
if sdk_path is None:
|
||||
if sdk_path is None or not os.path.isdir(sdk_path):
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user