Starting shellcheck cleanup

This commit is contained in:
Clemens Schwaighofer
2024-09-04 10:58:48 +09:00
parent 28dd6cb911
commit 8407defe4f
12 changed files with 113 additions and 111 deletions

View File

@@ -54,7 +54,7 @@ if [ ${RUN_CHECK} -eq 1 ]; then
OPT_GLOB="";
if [[ "${CHECK_PREFIX}" =~ $REGEX_GLOB ]]; then
OPT_GLOB="-a '${CHECK_PREFIX}'"
elif [ ! -z "${CHECK_PREFIX}" ]; then
elif [ -n "${CHECK_PREFIX}" ]; then
OPT_GLOB="-P ${CHECK_PREFIX}";
fi;
# debug/dryrun