diff --git a/libexec/plenv b/libexec/plenv index 0651b1a..59573c1 100755 --- a/libexec/plenv +++ b/libexec/plenv @@ -12,7 +12,7 @@ if [ -n "$PLENV_DEBUG" ]; then set -x fi -read READLINK < <( type -p greadlink readlink ) || { +read READLINK < <( command -v greadlink readlink ) || { echo "plenv: cannot find readlink - are you missing GNU coreutils?" >&2 exit 1 }