Some TODO
This commit is contained in:
parent
abfca7fa75
commit
c04b5bbea0
1
ghcup
1
ghcup
@ -893,6 +893,7 @@ posix_realpath() {
|
|||||||
done
|
done
|
||||||
mydir="$( cd -P "$( dirname "${mysource}" )" > /dev/null 2>&1 && pwd )"
|
mydir="$( cd -P "$( dirname "${mysource}" )" > /dev/null 2>&1 && pwd )"
|
||||||
|
|
||||||
|
# TODO: better distinguish between "does not exist" and "permission denied"
|
||||||
if [ -z "${mydir}" ] ; then
|
if [ -z "${mydir}" ] ; then
|
||||||
(>&2 echo "${1}: Permission denied")
|
(>&2 echo "${1}: Permission denied")
|
||||||
elif [ ! -e "$1" ] ; then
|
elif [ ! -e "$1" ] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user