From: Heiko Schlittermann (HS12-RIPE) Date: Thu, 3 Nov 2016 09:36:36 +0000 (+0100) Subject: Add more information (cwd, $Bin) to the {farm} key X-Git-Url: https://git.exim.org/buildfarm-client.git/commitdiff_plain/9713731ddc2b23a3c64243f5351921c94f905695 Add more information (cwd, $Bin) to the {farm} key --- diff --git a/run_build b/run_build index 952e4a9..2bd6c52 100755 --- a/run_build +++ b/run_build @@ -43,6 +43,7 @@ use File::Copy; use File::Basename; use File::Temp; use File::Spec; +use FindBin qw'$Bin'; use IO::Handle; use POSIX qw(:signal_h strftime); use Data::Dumper; @@ -1431,6 +1432,8 @@ sub get_script_config_dump if ($conf->{scm} eq 'git') { chomp($conf->{farm}{revision} = `git describe --tags --always --dirty=+`); + $conf->{farm}{cwd} = getcwd(); + $conf->{farm}{bindir} = $Bin; } $Data::Dumper::Sortkeys = 1;