From 97262139f1f4bddf7b33562bca8b705baa32c948 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Tue, 3 Jan 2017 22:59:52 +0530 Subject: [PATCH] setup.py: Print the detected Ninja and quote build_dir The build_dir is an absolute path, so quote it. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 38d4f722d8..ec04cc195f 100755 --- a/setup.py +++ b/setup.py @@ -54,7 +54,7 @@ class GstBuildConfigurer: subprocess.check_call( [sys.executable, meson, "../"] + self.args + self.get_configs(), cwd=build_dir) print("\nYou can now build GStreamer and its various subprojects running:\n" - " $ ninja -C %s" % build_dir) + " $ {} -C {!r}".format(os.path.basename(ninja), build_dir)) except subprocess.CalledProcessError: return False