From: Jo-Philipp Wich Date: Tue, 26 Jul 2016 17:04:51 +0000 (+0200) Subject: phase1: fixup find command X-Git-Tag: v1~252 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ccf2e87d6c393d1d0f3a8c8389fd219c90e85108;p=buildbot.git phase1: fixup find command Ensure that the find command prints all paths, also remove "sh -c" indirection to preserve proper umask. Signed-off-by: Jo-Philipp Wich --- diff --git a/phase1/master.cfg b/phase1/master.cfg index ea6d471..2c3e42e 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -450,7 +450,7 @@ EOT''' %(ts[0], ts[0], ts[1]) )) factory.addStep(ShellCommand( name = "signpack", description = "Packing files to sign", - command = ["sh", "-c", WithProperties("find bin/targets/%s/%s%%(libc)s/ -mindepth 1 -maxdepth 2 -type f -name sha256sums -or -name Packages -print0 | xargs -0 tar -czf sign.tar.gz" %(ts[0], ts[1]))], + command = WithProperties("find bin/targets/%s/%s%%(libc)s/ -mindepth 1 -maxdepth 2 -type f -name sha256sums -print0 -or -name Packages -print0 | xargs -0 tar -czf sign.tar.gz" %(ts[0], ts[1])), haltOnFailure = True ))