helpers2.1: unbound var @_@

This commit is contained in:
Alexandre Aubin 2024-06-20 19:06:14 +02:00
parent e0a9bafde2
commit 41b958113a

View file

@ -100,7 +100,7 @@ ynh_script_progression() {
# Build $progression_bar from progress_string(0,1,2) according to $effective_progression and the weight of the current task
# expected_progression is the progression expected after the current task
local expected_progression="$((($increment_progression + $weight) * $progress_scale / $max_progression - $effective_progression))"
local expected_progression="$((($increment_progression + 1) * $progress_scale / $max_progression - $effective_progression))"
# Hack for the "--last" message
if grep -qw 'completed' <<< "$1";