aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/scripts
diff options
context:
space:
mode:
authorMcCabe Maxsted2012-02-18 00:21:02 -0700
committerMcCabe Maxsted2012-02-18 00:21:02 -0700
commit584112aff112409e17c13e8d59ff483431696fcf (patch)
treec3cbb9fedfb8366c17375609ea2a6b4b7c3780b3 /linden/scripts
parentFixed tons of 'LLXMLTree invalid token' warnings spamming the log and made th... (diff)
parentdisable voice if ParcelVoiceInfoRequest response is malformed. (diff)
downloadmeta-impy-584112aff112409e17c13e8d59ff483431696fcf.zip
meta-impy-584112aff112409e17c13e8d59ff483431696fcf.tar.gz
meta-impy-584112aff112409e17c13e8d59ff483431696fcf.tar.bz2
meta-impy-584112aff112409e17c13e8d59ff483431696fcf.tar.xz
Merge remote-tracking branch 'armin/next' into next
Diffstat (limited to 'linden/scripts')
-rwxr-xr-xlinden/scripts/install.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/linden/scripts/install.py b/linden/scripts/install.py
index f09fc48..c69644b 100755
--- a/linden/scripts/install.py
+++ b/linden/scripts/install.py
@@ -805,11 +805,14 @@ def _get_platform():
805 } 805 }
806 this_platform = platform_map[sys.platform] 806 this_platform = platform_map[sys.platform]
807 if this_platform == 'linux': 807 if this_platform == 'linux':
808 if platform.architecture()[0] == '64bit': 808 word_size = os.environ.get('WORD_SIZE')
809 if platform.architecture()[0] == '64bit' or word_size == '64':
809 # TODO -- someday when install.py accepts a platform of the form 810 # TODO -- someday when install.py accepts a platform of the form
810 # os/arch/compiler/compiler_version then we can replace the 811 # os/arch/compiler/compiler_version then we can replace the
811 # 'linux64' platform with 'linux/x86_64/gcc/4.1' 812 # 'linux64' platform with 'linux/x86_64/gcc/4.1'
812 this_platform = 'linux64' 813 if not word_size == '32':
814 this_platform = 'linux64'
815
813 return this_platform 816 return this_platform
814 817
815def _getuser(): 818def _getuser():