git://git.exim.org
/
buildfarm-client.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9713731
)
Run git describe in the farm client directory, not in the cwd
author
Heiko Schlittermann (HS12-RIPE)
<hs@schlittermann.de>
Fri, 4 Nov 2016 07:08:36 +0000
(08:08 +0100)
committer
Heiko Schlittermann (HS12-RIPE)
<hs@schlittermann.de>
Fri, 4 Nov 2016 07:10:36 +0000
(08:10 +0100)
run_build
patch
|
blob
|
history
diff --git
a/run_build
b/run_build
index 2bd6c52141c8f179ab018b24c41a3e569191d1b7..d2de73fbb2d87e368123fa2d690a341ff020e642 100755
(executable)
--- 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;
}