diff --git a/misc/tools.func b/misc/tools.func index 8c3f55694..f6ab05bc8 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -1026,7 +1026,7 @@ function fetch_and_deploy_gh_release() { return 1 } - if [[ "$tagrget_file" != *.jar && -f "$target/$target_file" ]]; then + if [[ "$target_file" != *.jar && -f "$target/$target_file" ]]; then chmod +x "$target/$target_file" fi