aboutsummaryrefslogtreecommitdiff
path: root/afssh
diff options
context:
space:
mode:
authorTimo Weingärtner <timo@tiwe.de>2018-01-11 21:45:50 +0100
committerTimo Weingärtner <timo@tiwe.de>2018-01-11 21:45:50 +0100
commit7fc55df2837845374888318958794049ecbcf9f6 (patch)
tree3da424b7815cdc884e2eee375634bd943d6d54f3 /afssh
parent5b2392b2684a31faeb174affd1a6f518c44f146a (diff)
parentd731f74d7ccf56874953c395bcfcc93efdd70f00 (diff)
downloadssh-agent-filter-7fc55df2837845374888318958794049ecbcf9f6.tar.gz
Merge tag '0.5' into debian
0.5
Diffstat (limited to 'afssh')
-rwxr-xr-xafssh3
1 files changed, 2 insertions, 1 deletions
diff --git a/afssh b/afssh
index c482aea..3c715e3 100755
--- a/afssh
+++ b/afssh
@@ -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