From 9e052eff2f56c3ecbbd24377f769e87ad7e9d018 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sat, 11 Sep 2021 12:41:26 +0200 Subject: [PATCH] MacOS bugfix --- scripts/core/setup-variables.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/core/setup-variables.sh b/scripts/core/setup-variables.sh index 7befa69..5dd3dcb 100755 --- a/scripts/core/setup-variables.sh +++ b/scripts/core/setup-variables.sh @@ -2,9 +2,9 @@ safe_realpath() { if [[ "$OPERATING_SYSTEM_NAME" == "osx" ]]; then - return "$(grealpath "$1")" + grealpath "$1" else - return "$(realpath "$1")" + realpath "$1" fi }