Commit ef085885 authored by Geoffrey Métais's avatar Geoffrey Métais

Add VLC core revision in About section

parent 64c734ad
......@@ -224,9 +224,15 @@ def hostName() {
def revision() {
def code = new ByteArrayOutputStream()
def vlc = new ByteArrayOutputStream()
exec {
commandLine 'git', 'rev-parse', '--short', 'HEAD'
standardOutput = code
return code.toString()
exec {
commandLine 'git', 'rev-parse', '--short', 'HEAD'
workingDir '../vlc'
standardOutput = vlc
return code.toString()+"VLC: "+vlc.toString()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment