projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51759df
)
meson: strip branch name when uninstalled
author
Víctor Manuel Jáquez Leal
<vjaquez@igalia.com>
Fri, 31 Aug 2018 11:31:24 +0000
(13:31 +0200)
committer
Philippe Normand
<philn@igalia.com>
Fri, 31 Aug 2018 12:17:42 +0000
(13:17 +0100)
Remove ending newlines characters on branch's name.
https://bugzilla.gnome.org/show_bug.cgi?id=796989
gst-uninstalled.py
patch
|
blob
|
history
diff --git
a/gst-uninstalled.py
b/gst-uninstalled.py
index 8e2edf2aa1770aaf6578f1531987857ecf58fb4f..d4509ce72739a9df9bfd423e133fb93716ed3cc7 100755
(executable)
--- 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':