qcd more BSD compliant

This commit is contained in:
ville rantanen
2017-06-09 10:11:35 +03:00
parent 9caac70a4e
commit 8f963d99d3

View File

@@ -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