Skip to content

Commit 693b64a

Browse files
committed
install-helpers.sh: fix realpath -> readlink
1 parent 7bda2d5 commit 693b64a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zfsbootmenu/install-helpers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ zbm_install_symlink() {
192192

193193
# Attempt to install the target of the symlink
194194
local rpath
195-
if rpath="$(realpath -f "${1}")"; then
195+
if rpath="$(readlink -f "${1}")"; then
196196
if [ -e "${rpath}" ] && [ ! -L "${rpath}" ]; then
197197
zbm_install_file "${rpath}" "$(dirname "${src}")/${dest}" || return 1
198198
fi

0 commit comments

Comments
 (0)