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:
Víctor Manuel Jáquez Leal 2018-08-31 13:31:24 +02:00 committed by Philippe Normand
parent 51759df370
commit 13131122b7

View file

@ -212,7 +212,8 @@ if __name__ == "__main__":
exit(1)
# 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 os.name is 'nt':