1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 18:34:48 +00:00

drop readlink req

This commit is contained in:
deadc0de6
2023-04-11 21:34:49 +02:00
committed by deadc0de
parent 02cb9708e1
commit 7fdd2deacb
136 changed files with 135 additions and 192 deletions

View File

@@ -13,17 +13,7 @@ if ! hash ${bin}; then
exit 1
fi
rl="readlink -f"
if ! ${rl} "${0}" >/dev/null 2>&1; then
rl="realpath"
if ! hash ${rl}; then
echo "\"${rl}\" not found!"
exit 1
fi
fi
cur=$(dirname "$(${rl} "${0}")")
cur=$(cd "$(dirname "${0}")" && pwd)
opwd=$(pwd)
# output files