[buildbot] phase2: preserve umask

LEDE Commits lede-commits at lists.infradead.org
Tue Jul 26 10:06:09 PDT 2016


jow pushed a commit to buildbot.git, branch master:
https://git.lede-project.org/?p=buildbot.git;a=commitdiff;h=f0cf3f27e24b54fe96eccbdda95f680ee21210ed

commit f0cf3f27e24b54fe96eccbdda95f680ee21210ed
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Tue Jul 26 19:05:52 2016 +0200

    phase2: preserve umask
    
    Remove "sh -c" indirection to preserve proper umask in tar command.
    
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 phase2/master.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 		))
 



More information about the lede-commits mailing list