forked from Mirror/pmbootstrap
aportgen: Convert space indent to tabs (!1734)
APKBUILD should be indented with tabs not spaces. This also resolves a bug which the replace_functions feature was always trimming off the beginning of a line. For example: replace_functions = {"build": "return 0"} would be formatted as "rn 0".
This commit is contained in:
parent
7f956e2f72
commit
deadcd39f7
3 changed files with 52 additions and 24 deletions
|
@ -73,4 +73,4 @@ def generate(args, pkgname):
|
|||
}
|
||||
|
||||
pmb.aportgen.core.rewrite(args, pkgname, "main/binutils", fields,
|
||||
"binutils", replace_functions)
|
||||
"binutils", replace_functions, remove_indent=8)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue