From d48cf93a94e2fa1538cc6617a58698526e564424 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 22 Oct 2020 23:15:21 -0700 Subject: [PATCH] Fix builder.target usage. --- AMBuildScript | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/AMBuildScript b/AMBuildScript index a66e0837..ba68657c 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -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))