fhs-userenv-bubblewrap: Add store path to readlink
Commit df4761 added a call to readlink, which fails if it is not in the user's path when run. Updated the readlink call to pull from the coreutils store path directly.
This commit is contained in:
parent
867edccac8
commit
eb268eabad
|
@ -95,7 +95,7 @@ let
|
|||
if [[ $path == '/etc' ]]; then
|
||||
:
|
||||
elif [[ -L $i ]]; then
|
||||
symlinks+=(--symlink "$(readlink "$i")" "$path")
|
||||
symlinks+=(--symlink "$(${coreutils}/bin/readlink "$i")" "$path")
|
||||
blacklist+=("$path")
|
||||
else
|
||||
ro_mounts+=(--ro-bind "$i" "$path")
|
||||
|
|
Loading…
Reference in New Issue