Skip to content

Commit

Permalink
install-helpers.sh: fix realpath -> readlink
Browse files Browse the repository at this point in the history
  • Loading branch information
ahesford committed Oct 31, 2024
1 parent 7bda2d5 commit 693b64a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zfsbootmenu/install-helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ zbm_install_symlink() {

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

0 comments on commit 693b64a

Please sign in to comment.