From b36598accafc17f7879bdf39a4b5cc093be72284 Mon Sep 17 00:00:00 2001 From: mio Date: Fri, 6 Sep 2024 18:32:31 +0000 Subject: community/weston: fix linting issues --- community/weston/APKBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/community/weston/APKBUILD b/community/weston/APKBUILD index 26e45de06a7..8aa81461298 100644 --- a/community/weston/APKBUILD +++ b/community/weston/APKBUILD @@ -124,13 +124,13 @@ _sub() { local name path case $subpkgname in *-shell-*) - name=${subpkgname#$pkgname-shell-} + name=${subpkgname#"$pkgname"-shell-} path=/usr/lib/$pkgname pkgdesc="Weston shell: $name" - name=*$name-shell* + name="*$name-shell*" ;; *-backend-*) - name=${subpkgname#$pkgname-backend-} + name=${subpkgname#"$pkgname"-backend-} path=/usr/lib/$_libdir pkgdesc="Weston backend: $name" name=$name-backend.so @@ -139,7 +139,7 @@ _sub() { *) name=$subpkgname path=/usr/bin - [ -x "$pkgdir"/$path/$name ] || name=${subpkgname#$pkgname-} + [ -x "$pkgdir"/$path/$name ] || name=${subpkgname#"$pkgname"-} pkgdesc="Weston client: $name" ;; esac -- cgit v1.2.3