From: Petr Štetiar Date: Sat, 23 Dec 2023 07:14:20 +0000 (+0000) Subject: phase2: fix stray closing parenthesis X-Git-Tag: v13~8 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=88b6d9eae0ebf66c165be3e7458d6ff582d63759;p=buildbot.git phase2: fix stray closing parenthesis Due to the stray closing parenthesis introduced in commit f0faed2970dd ("phase2: compute checksums") we have currently we've failing checksum step in phase2: argv: b'cd bin/packages/mipsel_24kc_24kf; find . -type f -not -name \'sha256sums\' -printf "%P\n" | sort | xargs -r ../../../staging_dir/host/bin/mkhash -n sha256 | sed -ne \'s!^\\(.*\\) \\(.*\\)$!\x01 *\x02!p\' > sha256sums)' environment: ...snip... using PTY: False /bin/sh: 2: Syntax error: ")" unexpected program finished with exit code 2 Fixes: f0faed2970dd ("phase2: compute checksums") Reported-by: Hannu Nyman Signed-off-by: Petr Štetiar --- diff --git a/phase2/master.cfg b/phase2/master.cfg index 18236b5..02e7a45 100644 --- a/phase2/master.cfg +++ b/phase2/master.cfg @@ -572,7 +572,7 @@ for arch in arches: description = "Calculating checksums", descriptionDone="Checksums calculated", workdir = "build/sdk", - command = "cd bin/packages/%s; " %(arch[0]) + "find . -type f -not -name 'sha256sums' -printf \"%P\n\" | sort | xargs -r ../../../staging_dir/host/bin/mkhash -n sha256 | sed -ne 's!^\(.*\) \(.*\)$!\1 *\2!p' > sha256sums)", + command = "cd bin/packages/%s; " %(arch[0]) + "find . -type f -not -name 'sha256sums' -printf \"%P\n\" | sort | xargs -r ../../../staging_dir/host/bin/mkhash -n sha256 | sed -ne 's!^\(.*\) \(.*\)$!\1 *\2!p' > sha256sums", haltOnFailure = True ))