Bug 906177 - Fix bootstrap on elementary; r=gps
authorAnton Neumann <mozilla@aneumann.org>
Fri, 21 Nov 2014 09:58:29 -0800
changeset 241258 1fe4af5711ac8d338b2397c2ccfad831d65c2067
parent 241257 03510730721acbd931b79f6495ae1df7606324f7
child 241259 2cae53b8f3f43f3a2f4feba43ed4856fc71a8437
push id4311
push userraliiev@mozilla.com
push dateMon, 12 Jan 2015 19:37:41 +0000
treeherdermozilla-beta@150c9fed433b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs906177
milestone36.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 906177 - Fix bootstrap on elementary; r=gps DONTBUILD (NPOTB)
python/mozboot/mozboot/bootstrap.py
--- a/python/mozboot/mozboot/bootstrap.py
+++ b/python/mozboot/mozboot/bootstrap.py
@@ -54,17 +54,17 @@ class Bootstrapper(object):
                 # Most Linux Mint editions are based on Ubuntu; one is based on
                 # Debian, and reports this in dist_id
                 if dist_id == 'debian':
                     cls = DebianBootstrapper
                 else:
                     cls = UbuntuBootstrapper
             elif distro == 'Ubuntu':
                 cls = UbuntuBootstrapper
-            elif distro in ('Elementary OS', 'Elementary'):
+            elif distro in ('Elementary OS', 'Elementary', '"elementary OS"'):
                 cls = UbuntuBootstrapper
             else:
                 raise NotImplementedError('Bootstrap support for this Linux '
                                           'distro not yet available.')
 
             args['version'] = version
             args['dist_id'] = dist_id