Fix builder.target usage.

This commit is contained in:
David Anderson 2020-10-22 23:15:21 -07:00
parent 104b6b878a
commit d48cf93a94

View File

@ -177,8 +177,7 @@ class SMConfig(object):
self.sdks[sdk_name] = sdk
if len(self.sdks) < 1 and len(sdk_list) and not use_none:
raise Exception('No SDKs were found that build on {0}-{1}, nothing to do.'.format(
builder.target.platform, builder.target.arch))
raise Exception('No applicable SDKs were found, nothing to do')
for sdk in not_found:
print('Warning: hl2sdk-{} was not found, and will not be included in build.'.format(sdk))