diff options
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-x | scripts/TestUtil.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py index 64980988a5c..4651bb3ede9 100755 --- a/scripts/TestUtil.py +++ b/scripts/TestUtil.py @@ -1757,8 +1757,7 @@ def processCmdLine(): iceHome = "/usr" if not x64: - x64 = isWin32() and ("PLATFORM" in os.environ and os.environ.get("PLATFORM").upper() == "X64") \ - or ("LP64" in os.environ and os.environ.get("LP64") == "yes") + x64 = isWin32() and os.environ.get("PLATFORM", "").upper() == "X64" or os.environ.get("LP64", "") == "yes" if iceHome: sys.stdout.write("*** using Ice installation from " + iceHome + " ") if x64: |