[buildbot] phase1: fixup find command

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


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

commit ccf2e87d6c393d1d0f3a8c8389fd219c90e85108
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Tue Jul 26 19:04:51 2016 +0200

    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 <jo at mein.io>
---
 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
 		))
 



More information about the lede-commits mailing list