[WIP] shellcheck linting

This commit is contained in:
Juan David Hurtado G
2024-12-08 20:57:43 -05:00
parent 7e6a9fa896
commit 8808e8a5a4
7 changed files with 18 additions and 14 deletions

View File

@@ -172,7 +172,7 @@ destroy_rel() {
if [ "${FORCE}" = "1" ]; then
## remove cache on force
if [ -d "${bastille_cachedir}/${TARGET}" ]; then
rm -rf "${bastille_cachedir}/${TARGET}"
rm -rf "${bastille_cachedir:?}/${TARGET}"
fi
fi
echo