diff --git a/qcd_function b/qcd_function index ab3ded8..deb9801 100644 --- a/qcd_function +++ b/qcd_function @@ -384,7 +384,7 @@ function path_add_current { } local p=$(pwd) [[ -z "$1" ]] || { - p=$( readlink -e "$1" ) + p=$( realpath "$1" ) } [[ -z "$p" ]] && { echo Path "$1" not found >&2