Browse Source

makepanda: fix GetHost() on linux

[skip ci]
rdb 7 years ago
parent
commit
002b373361
1 changed files with 2 additions and 0 deletions
  1. 2 0
      makepanda/makepandacore.py

+ 2 - 0
makepanda/makepandacore.py

@@ -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'):