mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
makepanda: fix GetHost() on linux
[skip ci]
This commit is contained in:
parent
d35e6c5113
commit
002b373361
@ -296,6 +296,8 @@ def GetHost():
|
||||
osname = subprocess.check_output(["uname", "-o"])
|
||||
if osname.strip().lower() == b'android':
|
||||
return 'android'
|
||||
else:
|
||||
return 'linux'
|
||||
except:
|
||||
return 'linux'
|
||||
elif sys.platform.startswith('freebsd'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user