From 9947ffbc2fd6e14668ecefb79af3a9be16d8b90f Mon Sep 17 00:00:00 2001 From: Thomas Applencourt Date: Mon, 8 Jun 2015 17:42:29 +0200 Subject: [PATCH] Fix ninja #7 --- setup_environment.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup_environment.py b/setup_environment.py index 8dfdb1f3..972eefb4 100755 --- a/setup_environment.py +++ b/setup_environment.py @@ -201,7 +201,6 @@ for need in l_need: l_need_genealogy = d_need_genealogy.keys() -l_need_genealogy = ["ocaml"] print """ __ (_ ._ _ ._ _ _. ._ @@ -309,7 +308,9 @@ print """ # ~#~#~#~#~#~#~#~#~ # """ -subprocess.check_call("./bin/ninja -C install", shell=True) +if [i for i in l_need_genealogy if i not in "ocaml"]: + subprocess.check_call("./bin/ninja -C install", shell=True) + print "Done" if "ocaml" in l_need_genealogy: