setup.py: Use the detected Ninja and quote build_dir
authorNirbheek Chauhan <nirbheek@centricular.com>
Mon, 2 Jan 2017 20:36:42 +0000 (02:06 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Mon, 2 Jan 2017 20:41:43 +0000 (02:11 +0530)
commit9a64b727bf6ad42d66f1e5f0404baca46f57167c
tree6732fba1db93f8e9f70fb447355faa19af036a82
parent9c15b9a136a4df00c43fce70c0ad749a5b04d441
setup.py: Use the detected Ninja and quote build_dir

The build_dir is an absolute path, so quote it.

We don't really need to use the absolute path to Ninja in git-update
since we pass it to subprocess.call which will do an shutil.which
common.py
setup.py