1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 14:31: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
# 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}