From 794a15cda180b3f3bd821d043f17b258b2ceb445 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 12 Nov 2023 09:26:09 -0600 Subject: [PATCH] [buildcore] Fix hostevn cmd to return OS instead of hostname --- scripts/pybb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pybb.py b/scripts/pybb.py index 098f378..915aa5a 100755 --- a/scripts/pybb.py +++ b/scripts/pybb.py @@ -116,7 +116,7 @@ def hostname() -> int: def host_env() -> int: - os_name = socket.gethostname().lower() + os_name = platform.system().lower() arch = platform.machine() if arch == 'amd64': arch = 'x86_64'