mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-01-06 21:49:40 +02:00
i_all: Fix various ShellCheck issues
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
ed4028aaaa
commit
a519cfe3a1
@ -10,11 +10,12 @@ sets=('cod' 'dev' 'fae' 'fa' 'iec' 'logos' 'oct' 'ple' 'pom' 'seti' 'weather' 'm
|
|||||||
base=$(dirname "${BASH_SOURCE[0]:-$0}")
|
base=$(dirname "${BASH_SOURCE[0]:-$0}")
|
||||||
|
|
||||||
if [ "$1" = "include-old-material" ]; then
|
if [ "$1" = "include-old-material" ]; then
|
||||||
sets=(${sets[@]} 'material')
|
sets+=('material')
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for set in ${sets[@]}; do
|
for set in "${sets[@]}"; do
|
||||||
i="${base}/i_${set}.sh"
|
i="${base}/i_${set}.sh"
|
||||||
|
# shellcheck disable=SC1090 # We check the sources individually
|
||||||
test -f "$i" -a -r "$i" && source "$i"
|
test -f "$i" -a -r "$i" && source "$i"
|
||||||
done
|
done
|
||||||
unset i
|
unset i
|
||||||
|
Loading…
Reference in New Issue
Block a user