mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-24 23:09:44 -05:00
Only use relative path in DIGEST file
This commit is contained in:
parent
5adc1a12dd
commit
0c47c2016d
@ -657,7 +657,9 @@ sign() {
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
logInfo "All done!"
|
||||
|
Loading…
Reference in New Issue
Block a user