test: fix macOS detection
This commit is contained in:
1 file changed
+1
-1
@@ -211,7 +211,7 @@ def download_binary(tag, args) -> int:
|
|||||||
|
|
||||||
Path(archive).unlink()
|
Path(archive).unlink()
|
||||||
|
|
||||||
if tag >= "v23" and platform == "arm64-apple-darwin":
|
if tag >= "v23" and args.host == "arm64-apple-darwin":
|
||||||
# Starting with v23 there are arm64 binaries for ARM (e.g. M1, M2) macs, but they have to be signed to run
|
# Starting with v23 there are arm64 binaries for ARM (e.g. M1, M2) macs, but they have to be signed to run
|
||||||
binary_path = f'{os.getcwd()}/{tag}/bin/'
|
binary_path = f'{os.getcwd()}/{tag}/bin/'
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user