From e2b07acee6dbb9cde05e705464489ab21567751e Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 8 Jul 2025 09:26:34 +0200 Subject: [PATCH] Update tools.func --- misc/tools.func | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/tools.func b/misc/tools.func index 7957760b..b9a14593 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -997,8 +997,8 @@ function fetch_and_deploy_gh_release() { return 1 } - if [[ "$chmod_target" != *.jar && -f "$target/$chmod_target" ]]; then - chmod +x "$target/$chmod_target" + if [[ "$target_file" != *.jar && -f "$target/$target_file" ]]; then + chmod +x "$target/$target_file" fi else