1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-05-05 04:53:22 -07:00

duly noted: readlink -e is not portable.

This commit is contained in:
Connor Olding 2024-03-22 20:42:33 -07:00
parent 20360f971f
commit bb6215c118

View File

@ -133,7 +133,7 @@ softlink() {
fi
}
readlink -e / >/dev/null || die 'failed sanity check (check your $PATH)'
readlink -f / >/dev/null || die 'failed sanity check (check your $PATH)'
unset CDPATH
rc="$(readlink -f "$0")" && rc="${rc%/*}" && cd "$rc" || die "failed to determine rc directory"