hash_incrementals 391 B

123456789
  1. #!/bin/bash
  2. [% c("var/set_default_env") -%]
  3. [% IF c("var/nightly") -%]
  4. cd [% shell_quote(path(dest_dir)) %]/[% c("version") %]
  5. [% ELSE -%]
  6. cd [% shell_quote(path(dest_dir)) %]/[% c("var/signed_status") %]/[% c("version") %]-[% c("var/torbrowser_build") %]
  7. [% END -%]
  8. sha256sum `ls -1 | grep '\.incremental\.mar$' | sort` > sha256sums-[% c("var/signed_status") %]-build.incrementals.txt