From: Jo-Philipp Wich Date: Tue, 26 Jul 2016 17:05:52 +0000 (+0200) Subject: phase2: preserve umask X-Git-Tag: v1~251 X-Git-Url: http://git.openwrt.org/?p=buildbot.git;a=commitdiff_plain;h=f0cf3f27e24b54fe96eccbdda95f680ee21210ed phase2: preserve umask Remove "sh -c" indirection to preserve proper umask in tar command. Signed-off-by: Jo-Philipp Wich --- diff --git a/phase2/master.cfg b/phase2/master.cfg index 260186e..c2c9d9e 100644 --- a/phase2/master.cfg +++ b/phase2/master.cfg @@ -239,7 +239,7 @@ for arch in arches: name = "signpack", description = "Packing files to sign", workdir = "build/sdk", - command = ["sh", "-c", "find bin/packages/%s/ -mindepth 2 -maxdepth 2 -type f -name Packages -print0 | xargs -0 tar -czf sign.tar.gz" %(arch[0])], + command = "find bin/packages/%s/ -mindepth 2 -maxdepth 2 -type f -name Packages -print0 | xargs -0 tar -czf sign.tar.gz" %(arch[0]), haltOnFailure = True ))