CODINGSTYLE: Drop non-posix parameter extensions
While the non-posix substring expansions and replacement expansions are in use in portage already; they currently do not always work properly. .githooks/pre-commit: 28: testing/gcc-cross-embedded/APKBUILD: Bad substitution where line 28 reads: targetnorm="${target//-/_}" So best to avoid this construct when it doesn't even work all the time. A good replacement is: targetnorm="$(echo "${target}" | tr - _)" which is posix compliant and works. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
Lint | |||||||||
passed |
#186372
docker-alpine
x86_64
|
lint |
00:00:22
|
|
|||||
Build | |||||||||
passed |
#186377
docker-alpine
ci-build
aarch64
|
build-aarch64 |
00:00:25
|
|
|||||
passed |
#186378
docker-alpine
ci-build
armv7
|
build-armv7 |
00:00:30
|
|
|||||
passed |
#186376
docker-alpine
ci-build
ppc64le
|
build-ppc64le |
00:00:48
|
|
|||||
passed |
#186375
docker-alpine
ci-build
s390x
|
build-s390x |
00:00:18
|
|
|||||
passed |
#186374
docker-alpine
ci-build
x86
|
build-x86 |
00:00:20
|
|
|||||
passed |
#186373
docker-alpine
ci-build
x86_64
|
build-x86_64 |
00:00:25
|
|
|||||