include .hidden files
This commit is contained in:
parent
801b35874c
commit
e6d37b204b
6
netsigil
6
netsigil
|
@ -89,9 +89,11 @@ if [ "$action" = 'sign' ]; then
|
|||
# Copy public key to temporary directory
|
||||
cp "$public_key" "$tempdir/key.pub"
|
||||
|
||||
# Remove the old signature-bundle, if it exists
|
||||
rm -f .well-known/signature-bundle
|
||||
|
||||
# Generate SHA256SUMS file
|
||||
find -- * -type f -print0 | xargs -0 sha256sum > "$tempdir/SHA256SUMS"
|
||||
# TODO: option to include hidden files
|
||||
find -- . -type f -print | cut -d '/' -f 2- | sort | xargs sha256sum > "$tempdir/SHA256SUMS"
|
||||
|
||||
# Go to temporary directory
|
||||
cd "$tempdir" || exit 1
|
||||
|
|
Loading…
Reference in New Issue