fix(bin/linja): upstream script updated

This commit is contained in:
Favonia 2015-01-23 17:26:15 -05:00 committed by Leonardo de Moura
parent 27f6bfd3f0
commit b643063955

View file

@ -251,7 +251,7 @@ def build_ninja_and_save_at(ninja_path, platform):
built_ninja_path = os.path.join(build_dir, "ninja") built_ninja_path = os.path.join(build_dir, "ninja")
cmd_clone_ninja = ["git", "clone", "git://github.com/martine/ninja.git"] cmd_clone_ninja = ["git", "clone", "git://github.com/martine/ninja.git"]
cmd_checkout_release = ["git", "checkout", "release"] cmd_checkout_release = ["git", "checkout", "release"]
cmd_bootstrap = [os.path.join(build_dir, "bootstrap.py"), "--platform", platform] cmd_bootstrap = [os.path.join(build_dir, "configure.py"), "--bootstrap", "--platform", platform]
try: try:
os.chdir(tempdir) os.chdir(tempdir)
if subprocess.call(cmd_clone_ninja): if subprocess.call(cmd_clone_ninja):