generate_md5_checksums.sh 391 B

1234567891011121314
  1. #!/bin/bash
  2. #
  3. # update packages/misc/checksums_md5.txt
  4. #
  5. # (this script needs to be in source/dev_tools)
  6. cd $(dirname "$(readlink -f "${0}")")
  7. cd ../.. # get to the base dir of the installation
  8. echo Generating checksums...
  9. find [A-z]* -type f -print0 | xargs -0 md5sum | fgrep -v checksums_md5 | fgrep -v " source/" | fgrep -v "gitignore" > packages/misc/checksums_md5.txt
  10. echo Done.