Skip to content

Commit

Permalink
Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvander committed Oct 13, 2023
1 parent e0bb71f commit fb6009b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AMBuildScript
Expand Up @@ -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)
Expand Down

0 comments on commit fb6009b

Please sign in to comment.