mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-29 00:47:32 -04:00
Only use relative path in DIGEST file
This commit is contained in:
parent
5adc1a12dd
commit
0c47c2016d
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue