mirror of
https://github.com/notwa/rc
synced 2024-11-05 04:19:03 -08:00
duly noted: readlink -e
is not portable.
This commit is contained in:
parent
20360f971f
commit
bb6215c118
1 changed files with 1 additions and 1 deletions
2
install
2
install
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue