i_all: Fix various ShellCheck issues

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
Fini Jastrow 2023-06-01 11:27:42 +02:00
parent ed4028aaaa
commit a519cfe3a1

View file

@ -10,11 +10,12 @@ sets=('cod' 'dev' 'fae' 'fa' 'iec' 'logos' 'oct' 'ple' 'pom' 'seti' 'weather' 'm
base=$(dirname "${BASH_SOURCE[0]:-$0}")
if [ "$1" = "include-old-material" ]; then
sets=(${sets[@]} 'material')
sets+=('material')
fi
for set in ${sets[@]}; do
for set in "${sets[@]}"; do
i="${base}/i_${set}.sh"
# shellcheck disable=SC1090 # We check the sources individually
test -f "$i" -a -r "$i" && source "$i"
done
unset i