Skip to content

Commit 4d70c44

Browse files
committed
[fix] : Fixed SC2068
1 parent fb69910 commit 4d70c44

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tools/allpkglist.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44

55
load_config() {
66
local _file
7-
for _file in ${@}; do
7+
for _file in "${@}"; do
88
if [[ -f "${_file}" ]]; then
99
source "${_file}"
1010
fi
@@ -88,12 +88,12 @@ load_config() {
8888

8989
for_module(){
9090
local module
91-
for module in ${modules[@]}; do
91+
for module in "${modules[@]}"; do
9292
eval $(echo "${@}" | sed "s|{}|${module}|g")
9393
done
9494
}
9595

96-
for arch in ${archs[@]}; do
96+
for arch in "${archs[@]}"; do
9797
for channel in $("${tools_dir}/channel.sh" show -a "${arch}" -b -d -k zen -f); do
9898
modules=($(
9999
load_config "${script_path}/default.conf" "${script_path}/custom.conf"

tools/wizard.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ Function_Global_Main_install_dependent_packages () {
221221
fi
222222
done
223223
if [[ -n "${Var_Global_missing_packages[*]}" ]]; then
224-
yay -S --needed --config "${Var_Global_Wizard_Env_pacman_conf}" ${Var_Global_missing_packages[@]}
224+
yay -S --needed --config "${Var_Global_Wizard_Env_pacman_conf}" "${Var_Global_missing_packages[@]}"
225225
fi
226226
echo
227227
}

0 commit comments

Comments
 (0)