From ccf2e87d6c393d1d0f3a8c8389fd219c90e85108 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 26 Jul 2016 19:04:51 +0200 Subject: [PATCH] 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 --- phase1/master.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )) -- 2.30.2