mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -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
|
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
|
unset CDPATH
|
||||||
rc="$(readlink -f "$0")" && rc="${rc%/*}" && cd "$rc" || die "failed to determine rc directory"
|
rc="$(readlink -f "$0")" && rc="${rc%/*}" && cd "$rc" || die "failed to determine rc directory"
|
||||||
|
|
Loading…
Add table
Reference in a new issue