forked from Mirror/pmbootstrap
pmb.aportgen.binutils: adjust to subpackages in if (MR 2048)
Adjust the code so subpackages="" stays empty even with the latest version of Alpine's APKBUILD.
This commit is contained in:
parent
2a0128d48a
commit
1481e69981
2 changed files with 5 additions and 2 deletions
|
@ -50,5 +50,8 @@ def generate(args, pkgname):
|
|||
"gold": None,
|
||||
}
|
||||
|
||||
replace_simple = {"\tsubpackages=*": "\tsubpackages=\"\""}
|
||||
|
||||
pmb.aportgen.core.rewrite(args, pkgname, "main/binutils", fields,
|
||||
"binutils", replace_functions, remove_indent=8)
|
||||
"binutils", replace_functions, replace_simple,
|
||||
remove_indent=8)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue