mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-30 04:52:27 +01:00
testing/sssd: silence shellcheck warning
pkgdir will always be set
This commit is contained in:
parent
eb56c4b630
commit
7f3138a546
@ -104,6 +104,9 @@ package() {
|
||||
find "$pkgdir" -name '*.pyc' -delete
|
||||
find "$pkgdir" -name '*.egg-info' -delete
|
||||
|
||||
# pkgdir will allways be set, so silence shellsheck warning:
|
||||
# SC2115: Use "${var:?}" to ensure this never expands to /usr/share .
|
||||
# shellcheck disable=SC2115
|
||||
rm -r "$pkgdir"/usr/share
|
||||
rm -r "$pkgdir"/run
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user