[buildcore] Fix arch output for host_env to be more consistent

This commit is contained in:
Gary Talent 2023-11-14 20:21:49 -06:00
parent e9c5134286
commit 99a7a2cbfc

View File

@ -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