diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index b182fce605..4e7f27c3a3 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -377,7 +377,7 @@ def package_init_make_info(): for item in variable_list: # Get variable name and value - pkgvar, value = item.split("=") + pkgvar, value = item.split("=", maxsplit=1) # Strip the suffix according to the variable if pkgvar.endswith("_LICENSE"):