You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
192B

  1. #!/bin/sh
  2. set -e
  3. # Generate hashes for javascripts
  4. for file in ./bpg*.js; do
  5. [ -e "$file" ] || continue
  6. echo $(openssl dgst -sha384 -binary $file | openssl base64 -A) > $file.sha384
  7. done