fix(script): fix if clause (#1)
This commit is contained in:
parent
70145d5897
commit
35f572fe97
@ -183,10 +183,10 @@ function trim_pkg_list_oneline () {
|
||||
break
|
||||
fi
|
||||
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
|
||||
shorter_pkg_list=''
|
||||
done
|
||||
fi
|
||||
trimmed_pkg_list_oneline="${shorter_pkg_list}"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user