From ec64a6f645c543037669166527f2a265fe2cc80f Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Wed, 9 Aug 2017 16:52:15 +0200 Subject: [PATCH] fix bug with readlink #6 --- dotdrop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotdrop.sh b/dotdrop.sh index f935259..c2a4d86 100755 --- a/dotdrop.sh +++ b/dotdrop.sh @@ -5,7 +5,7 @@ # check for readlink/realpath presence # https://github.com/deadc0de6/dotdrop/issues/6 rl="readlink -f" -${rl} >/dev/null 2>&1 +${rl} ${0} >/dev/null 2>&1 if [ "$?" != "0" ]; then rl="realpath" hash ${rl}