Rename variable

This commit is contained in:
Josué Tille 2020-04-14 14:01:01 +02:00
parent 3d51e235e8
commit fec5d3d084
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -513,7 +513,7 @@ ynh_compare_package_version() {
# Manage arguments with getopts
ynh_handle_getopts_args "$@"
local current_version=$YNH_APP_OLD_VERSION
local current_version=$YNH_APP_CURRENT_VERSION
# Check the syntax of the versions
if [[ ! $version =~ '~ynh' ]] || [[ ! $current_version =~ '~ynh' ]]