phase2: preserve umask
authorJo-Philipp Wich <jo@mein.io>
Tue, 26 Jul 2016 17:05:52 +0000 (19:05 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 26 Jul 2016 17:05:57 +0000 (19:05 +0200)
Remove "sh -c" indirection to preserve proper umask in tar command.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
phase2/master.cfg

index 260186e1a0e6f6e3674492a6fec552f9ecd9c174..c2c9d9e29f200854e60e0c5d1070e16886084b1b 100644 (file)
@@ -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
                ))