MacOS bugfix

This commit is contained in:
Andrea Cavalli 2021-09-11 12:41:26 +02:00
parent 03b59c31c6
commit 9e052eff2f
1 changed files with 2 additions and 2 deletions

View File

@ -2,9 +2,9 @@
safe_realpath() {
if [[ "$OPERATING_SYSTEM_NAME" == "osx" ]]; then
return "$(grealpath "$1")"
grealpath "$1"
else
return "$(realpath "$1")"
realpath "$1"
fi
}