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:
Robert Yang 2018-12-29 19:03:39 -05:00 committed by Oliver Smith
parent 7f956e2f72
commit deadcd39f7
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
3 changed files with 52 additions and 24 deletions

View file

@ -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)