1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 17:24:46 +00:00

fix bug with readlink #6

This commit is contained in:
deadc0de6
2017-08-09 16:52:15 +02:00
parent 8ba9ce0e97
commit ec64a6f645

View File

@@ -5,7 +5,7 @@
# check for readlink/realpath presence # check for readlink/realpath presence
# https://github.com/deadc0de6/dotdrop/issues/6 # https://github.com/deadc0de6/dotdrop/issues/6
rl="readlink -f" rl="readlink -f"
${rl} >/dev/null 2>&1 ${rl} ${0} >/dev/null 2>&1
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
rl="realpath" rl="realpath"
hash ${rl} hash ${rl}