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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user