mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -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"])
|
osname = subprocess.check_output(["uname", "-o"])
|
||||||
if osname.strip().lower() == b'android':
|
if osname.strip().lower() == b'android':
|
||||||
return 'android'
|
return 'android'
|
||||||
|
else:
|
||||||
|
return 'linux'
|
||||||
except:
|
except:
|
||||||
return 'linux'
|
return 'linux'
|
||||||
elif sys.platform.startswith('freebsd'):
|
elif sys.platform.startswith('freebsd'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user