[2/2] binutils snapshot steps should run in the git step workdir
Checks
Commit Message
---
builder/master.cfg | 3 +++
1 file changed, 3 insertions(+)
@@ -2879,12 +2879,15 @@ binutils_make_clean_step = steps.ShellCommand(
name="make clean")
binutils_step_setversion = steps.ShellCommand(
+ workdir='binutils-gdb',
name="set bfd version",
command='sed -i "s/m4_define(\\[BFD_VERSION\\], \\[\\([0-9\\\\.]\\+\\)\\])/m4_define(\\[BFD_VERSION\\], [\\1-$(git rev-parse --short @)])/" bfd/version.m4')
binutils_step_src_release = steps.ShellCommand(
+ workdir='binutils-gdb',
name="src-release",
command="./src-release.sh -g binutils")
binutils_create_output_step = steps.ShellCommand(
+ workdir='binutils-gdb',
name="create output",
command="mkdir -p /home/builder/shared/output/src &&"
+ "mv ./binutils-*tar.gz /home/builder/shared/output/src")