mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2025-01-03 06:10:24 +00:00
use realpath to always use absolute paths of tomb files in maphash
This commit is contained in:
parent
59d3810665
commit
9be5dff823
2
tomb
2
tomb
@ -654,7 +654,7 @@ render_mapper() {
|
||||
_failure "cannot render mapper: missing \$tombpath"
|
||||
[[ "$TOMBNAME" == "" ]] &&
|
||||
_failure "cannot render mapper: missing \$TOMBNAME"
|
||||
local maphash=`print $tombpath | sha256sum -z`
|
||||
local maphash=`realpath $tombpath | sha256sum -z`
|
||||
mapper="tomb.$TOMBNAME.${maphash[(w)1]}"
|
||||
local mounted_tombs=(`list_tomb_mounts`)
|
||||
local usedmapper
|
||||
|
Loading…
Reference in New Issue
Block a user