aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/scripts
diff options
context:
space:
mode:
authorMcCabe Maxsted2012-01-22 18:32:51 -0700
committerMcCabe Maxsted2012-02-18 01:35:39 -0700
commitb9574a9bb56bb30899a2021412a0b565c30743b7 (patch)
treefdd8c1f717f07c1047d2b9dd7e1b115b4b4f5181 /linden/scripts
parentFixed chat history muted text checkbox position (diff)
downloadmeta-impy-b9574a9bb56bb30899a2021412a0b565c30743b7.zip
meta-impy-b9574a9bb56bb30899a2021412a0b565c30743b7.tar.gz
meta-impy-b9574a9bb56bb30899a2021412a0b565c30743b7.tar.bz2
meta-impy-b9574a9bb56bb30899a2021412a0b565c30743b7.tar.xz
Fixed one of those annoying silly bugs: md5 comparison being case-sensitive
Diffstat (limited to 'linden/scripts')
-rwxr-xr-xlinden/scripts/install.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/scripts/install.py b/linden/scripts/install.py
index c69644b..a7c0a48 100755
--- a/linden/scripts/install.py
+++ b/linden/scripts/install.py
@@ -36,6 +36,7 @@ $/LicenseInfo$
36import sys 36import sys
37import os.path 37import os.path
38import re 38import re
39import string
39 40
40# Look for indra/lib/python in all possible parent directories ... 41# Look for indra/lib/python in all possible parent directories ...
41# This is an improvement over the setup-path.py method used previously: 42# This is an improvement over the setup-path.py method used previously:
@@ -106,7 +107,7 @@ class InstallFile(object):
106 107
107 def _is_md5sum_match(self): 108 def _is_md5sum_match(self):
108 hasher = md5(file(self.filename, 'rb').read()) 109 hasher = md5(file(self.filename, 'rb').read())
109 if hasher.hexdigest() == self.md5sum: 110 if string.lower(hasher.hexdigest()) == string.lower(self.md5sum):
110 return True 111 return True
111 return False 112 return False
112 113