From: Víctor Manuel Jáquez Leal Date: Fri, 31 Aug 2018 11:31:24 +0000 (+0200) Subject: meson: strip branch name when uninstalled X-Git-Tag: 1.19.3~481^2~296 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13131122b7d2de1e55d305bbc494874a564dbc48;p=platform%2Fupstream%2Fgstreamer.git meson: strip branch name when uninstalled Remove ending newlines characters on branch's name. https://bugzilla.gnome.org/show_bug.cgi?id=796989 --- diff --git a/gst-uninstalled.py b/gst-uninstalled.py index 8e2edf2..d4509ce 100755 --- a/gst-uninstalled.py +++ b/gst-uninstalled.py @@ -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':