Some shellcheck fixes.

This commit is contained in:
Andrius Štikonas 2022-05-09 19:55:26 +01:00
parent ef0030bbf3
commit 6c4b98a17a
37 changed files with 90 additions and 93 deletions

View file

@ -8,7 +8,7 @@ src_unpack() {
mv "${DISTFILES}/deblob-4.9" "${pkg}/"
# Remove all previous source tarballs
mv "${DISTFILES}/${pkg}.tar.gz" .
rm -r "${DISTFILES}/"*
rm -r "${DISTFILES:?}/"*
mv "${pkg}.tar.gz" "${DISTFILES}"
default || true # Predictable link errors - not a problem
rm -r "${DISTFILES}" # Clear storage space