lib/lib.bash:
- use 'readlink -f' in 'abspath()'
This commit is contained in:
@@ -77,8 +77,12 @@ die() {
|
||||
exit $ec
|
||||
}
|
||||
|
||||
#abspath () {
|
||||
# (cd "$1" && pwd)
|
||||
#}
|
||||
|
||||
abspath () {
|
||||
(cd "$1" && pwd)
|
||||
readlink -f "$1"
|
||||
}
|
||||
|
||||
append_path () {
|
||||
|
||||
Reference in New Issue
Block a user