mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
Revert "setup.py: Use the detected Ninja and quote build_dir"
This reverts commit 9a64b727bf
.
Closes https://bugzilla.gnome.org/show_bug.cgi?id=776801
The actual fix is in the next commit.
This commit is contained in:
parent
9a64b727bf
commit
b75903c8f8
2 changed files with 4 additions and 3 deletions
|
@ -45,9 +45,10 @@ def git(*args, repository_path='.'):
|
|||
stderr=subprocess.STDOUT).decode()
|
||||
|
||||
def accept_command(commands):
|
||||
"""Search @commands and returns the first found command"""
|
||||
"""Search @commands and returns the first found absolute path."""
|
||||
for command in commands:
|
||||
if shutil.which(command):
|
||||
command = shutil.which(command)
|
||||
if command:
|
||||
return command
|
||||
|
||||
return None
|
||||
|
|
2
setup.py
2
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"
|
||||
" $ {} -C {!r}".format(ninja, build_dir))
|
||||
" $ ninja -C %s" % build_dir)
|
||||
except subprocess.CalledProcessError:
|
||||
return False
|
||||
|
||||
|
|
Loading…
Reference in a new issue