From c9dbf5452e0d2c1d73edcefc37c4371eb5b00ca3 Mon Sep 17 00:00:00 2001 From: Alexandre Tuleu Date: Thu, 8 Dec 2022 10:15:11 +0100 Subject: [PATCH] Fixes back for linux. macOS won't be supported --- update.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/update.sh b/update.sh index f4f1493..7eb3e39 100755 --- a/update.sh +++ b/update.sh @@ -89,7 +89,7 @@ files=".config/fish \ function this_script_root_dir() { - dirname ${BASH_SOURCE[0]} + dirname $(realpath ${BASH_SOURCE[0]}) } function run() { @@ -240,6 +240,10 @@ function update_oh_my_fish() { } function update_home() { + if $VERBOSE + then + echo "--- this_script_root_dir: ${this_script_root_dir}" + fi update_repos install_deps install_files