[buildcore] Fix hostevn cmd to return OS instead of hostname
This commit is contained in:
parent
d7a6bc4ae4
commit
8ddc8f40e5
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:
|
def host_env() -> int:
|
||||||
os_name = socket.gethostname().lower()
|
os_name = platform.system().lower()
|
||||||
arch = platform.machine()
|
arch = platform.machine()
|
||||||
if arch == 'amd64':
|
if arch == 'amd64':
|
||||||
arch = 'x86_64'
|
arch = 'x86_64'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user