diff --git a/libexec/basher-link b/libexec/basher-link index f29fc86..eeaec9f 100755 --- a/libexec/basher-link +++ b/libexec/basher-link @@ -5,7 +5,7 @@ set -e resolve_link() { - if type -p realpath >/dev/null; then + if [ ! -z "$(which realpath)" ]; then realpath "$1" else readlink -f "$1"