Skip to content

Commit

Permalink
Update manifest helpers and fix sdk selection bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvander committed Oct 12, 2023
1 parent 01a7fc5 commit ef16c78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions AMBuildScript
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,16 @@ class MMSConfig(object):
use_present = sdk_list[0] == 'present'
if sdk_list[0] == '':
sdk_list = []
if use_all or use_present:
sdk_list = []

not_found = []
for sdk_name, sdk in SdkHelpers.getSdks(builder):
self.sdk_manifests.append(sdk)
if not self.shouldIncludeSdk(sdk):
continue
if sdk_list and sdk_name not in sdk_list:
continue

sdk_path = self.findSdkPath(sdk_name)
if sdk_path is None:
Expand Down
2 changes: 1 addition & 1 deletion hl2sdk-manifests

0 comments on commit ef16c78

Please sign in to comment.