From d8e0d3abfdc7b6c6006441a9637fbab9b06bb2e1 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Tue, 14 Nov 2023 20:21:49 -0600 Subject: [PATCH] [buildcore] Fix arch output for host_env to be more consistent --- scripts/pybb.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/pybb.py b/scripts/pybb.py index 915aa5a..fea27ce 100755 --- a/scripts/pybb.py +++ b/scripts/pybb.py @@ -117,9 +117,7 @@ def hostname() -> int: def host_env() -> int: os_name = platform.system().lower() - arch = platform.machine() - if arch == 'amd64': - arch = 'x86_64' + arch = util.get_arch() print(f'{os_name}-{arch}') return 0