Skip to content

Commit fb6009b

Browse files
committed
Fix build.
1 parent e0bb71f commit fb6009b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AMBuildScript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class MMSConfig(object):
150150
sdk_path = os.path.join(builder.options.hl2sdk_root, sdk.folder)
151151
else:
152152
sdk_path = ResolveEnvPath(sdk.envvar, sdk.folder)
153-
if sdk_path is None:
153+
if sdk_path is None or not os.path.isdir(sdk_path):
154154
if (use_all and sdk_name != 'mock') or sdk_name in sdk_list:
155155
raise Exception('Could not find a valid path for {0}'.format(sdk.envvar))
156156
not_found.append(sdk_name)

0 commit comments

Comments
 (0)