pthbs

Packaging Through Hashed Build Scripts
git clone https://ccx.te2000.cz/git/pthbs
Log | Files | Refs | Submodules | README

pthbs-digest-files (160B)


      1 #!/bin/sh
      2 for fname in "$@"; do
      3 	busybox stat -c "# %F %a %u:%g %sB %N" "$fname" || exit $?
      4 	if test -f "$fname"; then
      5 		sha256sum "$fname" || exit $?
      6 	fi
      7 done