Fix unbound variable in ynh_script_progression

This commit is contained in:
Kayou 2022-03-04 10:03:20 +01:00 committed by GitHub
parent 0b132252c4
commit 676973a18e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -250,7 +250,7 @@ ynh_script_progression() {
weight=${weight:-1}
# Always activate time when running inside CI tests
if [ $PACKAGE_CHECK_EXEC -eq 1 ]; then
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
time=${time:-1}
else
time=${time:-0}