pmb.aportgen.linux: Fix linting issues in generated APKBUILDs (!1869)
Avoid generating an APKBUILD with the following linting issues: - unnecesary usage of braces: ${_flavor} - unnecesary usage of braces: ${arch} - unnecesary usage of braces: ${_commit} - unnecesary usage of braces: ${_repository}
This commit is contained in:
parent
d3fede3262
commit
630310ebfb
|
@ -89,12 +89,12 @@ def generate_apkbuild(args, pkgname, deviceinfo, patches):
|
||||||
# Source
|
# Source
|
||||||
_repository="(CHANGEME!)"
|
_repository="(CHANGEME!)"
|
||||||
_commit="ffffffffffffffffffffffffffffffffffffffff"
|
_commit="ffffffffffffffffffffffffffffffffffffffff"
|
||||||
_config="config-${_flavor}.${arch}"
|
_config="config-$_flavor.$arch"
|
||||||
source="
|
source="
|
||||||
$pkgname-$_commit.tar.gz::https://github.com/LineageOS/${_repository}/archive/${_commit}.tar.gz
|
$pkgname-$_commit.tar.gz::https://github.com/LineageOS/$_repository/archive/$_commit.tar.gz
|
||||||
$_config""" + ("\n" + " " * 12).join([""] + patches) + """
|
$_config""" + ("\n" + " " * 12).join([""] + patches) + """
|
||||||
"
|
"
|
||||||
builddir="$srcdir/${_repository}-${_commit}"
|
builddir="$srcdir/$_repository-$_commit"
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
default_prepare
|
default_prepare
|
||||||
|
|
Loading…
Reference in New Issue