diff options
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-x | scripts/TestUtil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py index 0b1b5bf66ef..69e8627a1b7 100755 --- a/scripts/TestUtil.py +++ b/scripts/TestUtil.py @@ -1733,8 +1733,8 @@ def processCmdLine(): iceHome = "/usr" if not x64: - x64 = isWin32() and os.environ.get("PLATFORM").upper() == "X64" or os.environ.get("LP64") == "yes" - + 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") if iceHome: sys.stdout.write("*** using Ice installation from " + iceHome + " ") if x64: |