From fbcca02c1c4afa0473870b730075a82ceffec24c Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Mon, 8 Jun 2015 10:55:16 +0200 Subject: [PATCH] lib/lib.bash: - use 'readlink -f' in 'abspath()' --- lib/lib.bash | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/lib.bash b/lib/lib.bash index 99c1d38..54ff574 100644 --- a/lib/lib.bash +++ b/lib/lib.bash @@ -77,8 +77,12 @@ die() { exit $ec } +#abspath () { +# (cd "$1" && pwd) +#} + abspath () { - (cd "$1" && pwd) + readlink -f "$1" } append_path () {