From 8ddc8f40e5d5ee1e0c18ee80a538f45dc4115d00 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 --- deps/buildcore/scripts/pybb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/buildcore/scripts/pybb.py b/deps/buildcore/scripts/pybb.py index 098f378f..915aa5a0 100755 --- a/deps/buildcore/scripts/pybb.py +++ b/deps/buildcore/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'