#!/bin/sh
export LANG=C
export LC_ALL=C
find -maxdepth 2 -type f -a \! -name .\* -a \! -path ./_build.standard.x86_64/\* -a \! -name .\* -a \! -path ./.pbuild/\* -a \! -path ./.osc/\* -a \! -name \*.out | sort | xargs sha256sum > 000pbuildconf/sha256sums.src.out
sha256sum 000pbuildconf/sha256sums.src.out

echo "check the output with sha256sum --quiet -c 000pbuildconf/sha256sums.src.out"
