File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,10 +54,10 @@ msg_error() {
5454
5555
5656trap_exit () {
57- local status=${?}
57+ local status=" ${?} "
5858 echo
5959 msg_error " fullbuild.sh has been killed by the user."
60- exit ${status}
60+ exit " ${status} "
6161}
6262
6363
@@ -135,7 +135,7 @@ eval set -- "${OPT}"
135135unset OPT OPTS OPTL ARGUMENT
136136
137137while true ; do
138- case ${1} in
138+ case " ${1} " in
139139 -a)
140140 share_options+=(${2} )
141141 shift 2
@@ -214,7 +214,7 @@ if [[ "${all_channel}" = true ]]; then
214214 channnels=($( " ${script_path} /tools/channel.sh" -b show) )
215215 fi
216216elif [[ -n " ${* } " ]]; then
217- channnels=(${@ } )
217+ channnels=(" ${@ } " )
218218fi
219219
220220if [[ " ${simulation} " = true ]]; then
249249
250250trap ' trap_exit' 1 2 3 15
251251
252- if [[ " ${simulation} " = false ]]; then
253- msg_info " Update the package database."
254- sudo pacman -Syy
255- fi
256-
257- for arch in ${architectures[@]} ; do
258- for cha in ${channnels[@]} ; do
259- for lang in ${locale_list[@]} ; do
260- for retry_count in $( seq 1 ${retry} ) ; do
261- if [[ -n $( cat " ${script_path} /channels/${cha} /architecture" | grep -h -v ^' #' | grep -x " ${arch} " ) ]]; then
252+ for arch in " ${architectures[@]} " ; do
253+ for cha in " ${channnels[@]} " ; do
254+ for lang in " ${locale_list[@]} " ; do
255+ for retry_count in $( seq 1 " ${retry} " ) ; do
256+ if [[ -n " $( cat " ${script_path} /channels/${cha} /architecture" | grep -h -v ^' #' | grep -x " ${arch} " ) " ]]; then
262257 build
263258 fi
264259 done
You can’t perform that action at this time.
0 commit comments