Commit fbcca02c authored by gsell's avatar gsell
Browse files

lib/lib.bash:

- use 'readlink -f' in 'abspath()'
parent b129a8d0
...@@ -77,8 +77,12 @@ die() { ...@@ -77,8 +77,12 @@ die() {
exit $ec exit $ec
} }
#abspath () {
# (cd "$1" && pwd)
#}
abspath () { abspath () {
(cd "$1" && pwd) readlink -f "$1"
} }
append_path () { append_path () {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment