fix(script): fix if clause (#1)

This commit is contained in:
hygienic-books 2023-03-06 02:55:21 +01:00
parent 70145d5897
commit 35f572fe97

View File

@ -183,10 +183,10 @@ function trim_pkg_list_oneline () {
break break
fi fi
done done
if [[ "${#shorter_pkg_list}" -gt "${pkgs_list_max_length}" ]]; do if [[ "${#shorter_pkg_list}" -gt "${pkgs_list_max_length}" ]]; then
# If this is still too long we empty the package list # If this is still too long we empty the package list
shorter_pkg_list='' shorter_pkg_list=''
done fi
trimmed_pkg_list_oneline="${shorter_pkg_list}" trimmed_pkg_list_oneline="${shorter_pkg_list}"
} }