Skip to content

Commit

Permalink
phase2: checksums: split long command line
Browse files Browse the repository at this point in the history
To make it more readable, diffs smaller, easier to review etc.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
  • Loading branch information
ynezz committed Dec 24, 2023
1 parent 5b5526b commit a67d932
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion phase2/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
))

Expand Down

0 comments on commit a67d932

Please sign in to comment.