mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-13 13:11:22 -05:00
Merge pull request #321 from keepassxreboot/feature/relative-path-digest-file
Only use relative path in DIGEST file
This commit is contained in:
commit
f5e75b5933
@ -657,7 +657,9 @@ sign() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
logInfo "Creating digest for file '${f}'..."
|
logInfo "Creating digest for file '${f}'..."
|
||||||
sha256sum "$f" > "${f}.DIGEST"
|
local rp="$(realpath "$f")"
|
||||||
|
local bname="$(basename "$f")"
|
||||||
|
(cd "$(dirname "$rp")"; sha256sum "$bname" > "${bname}.DIGEST")
|
||||||
done
|
done
|
||||||
|
|
||||||
logInfo "All done!"
|
logInfo "All done!"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user