diff options
Diffstat (limited to 'afssh')
-rwxr-xr-x | afssh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -52,7 +52,8 @@ fi declare -a agent_filter_args if [ -x "${BASH_SOURCE%/*}/ssh-agent-filter" ]; then - SAF=$(readlink -f "${BASH_SOURCE%/*}/ssh-agent-filter") + type realpath >/dev/null 2>&1 || realpath () { readlink -f "$@"; } + SAF=$(realpath "${BASH_SOURCE%/*}/ssh-agent-filter") else SAF=$(which ssh-agent-filter) fi |