Ensure that the find command prints all paths, also remove "sh -c" indirection
to preserve proper umask.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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
))