From 79b1a6f1f9edd7aa8b15cfc7b90a9c24e71c4bad Mon Sep 17 00:00:00 2001 From: hosted-fornet Date: Wed, 14 Feb 2024 21:37:53 -0800 Subject: [PATCH] build-release: use `uname -m` instead of `-p` --- scripts/build-release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-release.py b/scripts/build-release.py index 353f386a..b270ab37 100755 --- a/scripts/build-release.py +++ b/scripts/build-release.py @@ -8,7 +8,7 @@ import zipfile def get_system_info(): # Get OS and architecture information os_info = subprocess.run(["uname"], capture_output=True, text=True, check=True).stdout.strip().lower() - arch_info = subprocess.run(["uname", "-p"], capture_output=True, text=True, check=True).stdout.strip().lower() + arch_info = subprocess.run(["uname", "-m"], capture_output=True, text=True, check=True).stdout.strip().lower() if os_info == "linux": os_info = "unknown-linux-gnu"