소스 검색

Merge pull request #27633 from akien-mga/scons-py3-fixup

SCons: Fix python3 compat for builtin_bullet=no
Rémi Verschelde 6 년 전
부모
커밋
ae184a117e
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      platform/server/detect.py
  2. 1 1
      platform/x11/detect.py

+ 1 - 1
platform/server/detect.py

@@ -147,7 +147,7 @@ def configure(env):
         # We need at least version 2.88
         import subprocess
         bullet_version = subprocess.check_output(['pkg-config', 'bullet', '--modversion']).strip()
-        if bullet_version < "2.88":
+        if str(bullet_version) < "2.88":
             # Abort as system bullet was requested but too old
             print("Bullet: System version {0} does not match minimal requirements ({1}). Aborting.".format(bullet_version, "2.88"))
             sys.exit(255)

+ 1 - 1
platform/x11/detect.py

@@ -197,7 +197,7 @@ def configure(env):
         # We need at least version 2.88
         import subprocess
         bullet_version = subprocess.check_output(['pkg-config', 'bullet', '--modversion']).strip()
-        if bullet_version < "2.88":
+        if str(bullet_version) < "2.88":
             # Abort as system bullet was requested but too old
             print("Bullet: System version {0} does not match minimal requirements ({1}). Aborting.".format(bullet_version, "2.88"))
             sys.exit(255)