From f8ed093684b29eacbbe4f908e9cd007cd9a1cda8 Mon Sep 17 00:00:00 2001 From: Marek Fiala Date: Wed, 31 Aug 2022 14:38:24 +0200 Subject: [PATCH] Fix macOS compatibility command "readlink -m" was not compatible with macOS. --- export.fish | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/export.fish b/export.fish index d0ce313dc4..755aacf0d1 100644 --- a/export.fish +++ b/export.fish @@ -6,8 +6,7 @@ function unset end function __main - set script_dir (dirname (readlink -m (status -f))) - + set script_dir (dirname (realpath (status -f))) if not set -q IDF_PATH set -gx IDF_PATH $script_dir echo "Setting IDF_PATH to '$IDF_PATH'"