From 1ec9dcd301e843a0fbf170a6b84c4af4ff06ab67 Mon Sep 17 00:00:00 2001 From: Tyler Jewell Date: Sat, 13 Aug 2016 07:28:42 -0700 Subject: [PATCH] Fix realpath posix issue (#2069) Replaced usage of "realpath" function with posix-friendly syntax. Tested on Mac and worked well. --- che.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/che.sh b/che.sh index 9607d781a8..aa93e98e2d 100755 --- a/che.sh +++ b/che.sh @@ -205,7 +205,7 @@ has_docker_for_windows_client(){ } get_full_path() { - echo $(realpath $1) + echo "$(cd "$(dirname "$1")"; pwd)/$(basename "$1")" } convert_windows_to_posix() {