From: Heiko Schlittermann (HS12-RIPE) Date: Fri, 4 Nov 2016 07:08:36 +0000 (+0100) Subject: Run git describe in the farm client directory, not in the cwd X-Git-Url: https://git.exim.org/buildfarm-client.git/commitdiff_plain/e821a6475c789ea2c49ee8eb780c9c8c6302fc6f?ds=sidebyside Run git describe in the farm client directory, not in the cwd --- diff --git a/run_build b/run_build index 2bd6c52..d2de73f 100755 --- a/run_build +++ b/run_build @@ -1431,7 +1431,7 @@ sub get_script_config_dump delete $conf->{secret}; if ($conf->{scm} eq 'git') { - chomp($conf->{farm}{revision} = `git describe --tags --always --dirty=+`); + chomp($conf->{farm}{revision} = `git -C $Bin describe --tags --always --dirty=+`); $conf->{farm}{cwd} = getcwd(); $conf->{farm}{bindir} = $Bin; }