phase2: checksums: split long command line
authorPetr Štetiar <ynezz@true.cz>
Sun, 24 Dec 2023 09:30:58 +0000 (09:30 +0000)
committerPetr Štetiar <ynezz@true.cz>
Sat, 13 Apr 2024 04:17:49 +0000 (06:17 +0200)
To make it more readable, diffs smaller, easier to review etc.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
phase2/master.cfg

index 02e7a450f7e6cfc5ec65f6f8202a7bdfae56c0fd..fa585d77485885c7e82e2d1406f8a1eccfd024c0 100644 (file)
@@ -572,7 +572,10 @@ for arch in arches:
                description = "Calculating checksums",
                descriptionDone="Checksums calculated",
                workdir = "build/sdk",
-               command = "cd bin/packages/%s; " %(arch[0]) + "find . -type f -not -name 'sha256sums' -printf \"%P\n\" | sort | xargs -r ../../../staging_dir/host/bin/mkhash -n sha256 | sed -ne 's!^\(.*\) \(.*\)$!\1 *\2!p' > sha256sums",
+               command = "cd bin/packages/%s; " %(arch[0])
+               + "find . -type f -not -name 'sha256sums' -printf \"%P\n\" | "
+               + "sort | xargs -r ../../../staging_dir/host/bin/mkhash -n sha256 | "
+               + "sed -ne 's!^\(.*\) \(.*\)$!\1 *\2!p' > sha256sums",
                haltOnFailure = True
        ))