From 3f67f069137a552ed8704bbb37c3647afef1098d Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Sun, 5 Feb 2023 15:20:46 +0100 Subject: [PATCH] Fix --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 73d5921..58677ce 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -106,7 +106,7 @@ then ynh_script_progression --message="Upgrading source files..." --weight=5 pushd "$final_path" - git config --system --add safe.directory * + git config --system --add safe.directory $final_path git checkout master git pull --quiet git checkout $COMMIT --quiet