mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Only use relative path in DIGEST file
This commit is contained in:
parent
5adc1a12dd
commit
0c47c2016d
@ -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…
Reference in New Issue
Block a user