mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
meson: strip branch name when uninstalled
Remove ending newlines characters on branch's name. https://bugzilla.gnome.org/show_bug.cgi?id=796989
This commit is contained in:
parent
51759df370
commit
13131122b7
1 changed files with 2 additions and 1 deletions
|
@ -212,7 +212,8 @@ if __name__ == "__main__":
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
# The following incantation will retrieve the current branch name.
|
# The following incantation will retrieve the current branch name.
|
||||||
gst_version = git("rev-parse", "--symbolic-full-name", "--abbrev-ref", "HEAD", repository_path=options.srcdir)
|
gst_version = git("rev-parse", "--symbolic-full-name", "--abbrev-ref", "HEAD",
|
||||||
|
repository_path=options.srcdir).strip('\n')
|
||||||
|
|
||||||
if not args:
|
if not args:
|
||||||
if os.name is 'nt':
|
if os.name is 'nt':
|
||||||
|
|
Loading…
Reference in a new issue