[buildcore] Fix hostevn cmd to return OS instead of hostname
This commit is contained in:
2
deps/buildcore/scripts/pybb.py
vendored
2
deps/buildcore/scripts/pybb.py
vendored
@ -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'
|
||||
|
Reference in New Issue
Block a user