summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2014-09-23 19:20:04 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2014-09-23 20:09:13 -0400
commite7f18a7e54ea66d0326fb62b9b477a8e9cd23d1c (patch)
treef0e3e2e616b9ecae8b33195f4a950e2cc381efc0 /buildscripts
parent5af296c80a6eed635cde12a1611e357429e201d4 (diff)
downloadmongo-e7f18a7e54ea66d0326fb62b9b477a8e9cd23d1c.tar.gz
BUILD-365: Create Windows Enterprise Zip File with vcredist and dependent dlls
Diffstat (limited to 'buildscripts')
-rwxr-xr-xbuildscripts/make_archive.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildscripts/make_archive.py b/buildscripts/make_archive.py
index 840b134e717..f556d8e6559 100755
--- a/buildscripts/make_archive.py
+++ b/buildscripts/make_archive.py
@@ -170,7 +170,9 @@ def get_preferred_filename(input_filename, transformations):
returns the substituted string
'''
for match, replace in transformations:
- if input_filename.startswith(match):
+ match_lower = match.lower()
+ input_filename_lower = input_filename.lower()
+ if input_filename_lower.startswith(match_lower):
return replace + input_filename[len(match):]
return input_filename