Gotta define a default value to avoid unbound variable

This commit is contained in:
Alexandre Aubin 2020-11-10 17:09:23 +01:00 committed by GitHub
parent 0fa17ec2b1
commit 144f98ad44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -576,7 +576,7 @@ ynh_app_upstream_version () {
# Declare an array to define the options of this helper.
local legacy_args=m
local -A args_array=( [m]=manifest= )
local manifest
local manifest=""
# Manage arguments with getopts
ynh_handle_getopts_args "$@"