Attempt to fix Jenkins build for cocoa

This commit is contained in:
Daniel Silverstone 2014-05-18 22:06:13 +01:00
parent eb5ca0f94d
commit cb978fe470
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ if ( $git_present ) {
@bits = split /\s+/, `git describe --tags --exact-match HEAD 2>/dev/null`;
$bits[0] = "" unless exists $bits[0];
$gitinfo{tag} = $bits[0];
$gitinfo{branch} = $gitinfo{tag} if ($gitinfo{tag} =~ m@.@);
} else {
$gitinfo{url} = "http://nowhere/tarball/";
$gitinfo{revision} = "unknown";