phase1: fixup find command
authorJo-Philipp Wich <jo@mein.io>
Tue, 26 Jul 2016 17:04:51 +0000 (19:04 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 26 Jul 2016 17:04:54 +0000 (19:04 +0200)
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>
phase1/master.cfg

index ea6d47164885e75619878c34533385ed3ea837b9..2c3e42eebdc8508c015cc1f74c242739c742a2a2 100644 (file)
@@ -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
                ))