author Mark Banner <>
Wed, 04 Dec 2013 09:26:11 +0000
changeset 16955 35c5dcc4bc7ea87dcfd4c5375d2302a172f69dc5
parent 15096 4c46112cb67718e10cd8043d87984ef37b52acbd
child 28491 f4f277cc17496900064876b2564861ae9d3ab293
permissions -rw-r--r--
Port part of bug 943728 - Use single quotes for shell quoting instead of double quotes - to fix check-sync-dirs bustage. rs=port by build system peer.

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at

from __future__ import unicode_literals

import os, sys

def bootstrap(topsrcdir, mozilla_dir=None):
    if mozilla_dir is None:
        mozilla_dir = os.path.join(topsrcdir, 'mozilla')
    sys.path[0:0] = [mozilla_dir]
    import build.mach_bootstrap
    return build.mach_bootstrap.bootstrap(topsrcdir, mozilla_dir)