Update tools.func

This commit is contained in:
CanbiZ 2025-07-08 09:26:34 +02:00
parent e2abf4f204
commit e2b07acee6

View File

@ -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