File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -341,6 +341,7 @@ repos:
341341 ?^ci/scripts/release_test\.sh$|
342342 ?^ci/scripts/ruby_test\.sh$|
343343 ?^ci/scripts/rust_build\.sh$|
344+ ?^ci/scripts/util_download_apache\.sh$|
344345 ?^ci/scripts/util_enable_core_dumps\.sh$|
345346 ?^ci/scripts/util_free_space\.sh$|
346347 ?^ci/scripts/util_log\.sh$|
Original file line number Diff line number Diff line change @@ -44,10 +44,9 @@ APACHE_MIRRORS=(
4444
4545mkdir -p " ${target_dir} "
4646
47- for mirror in ${APACHE_MIRRORS[*]}
47+ for mirror in " ${APACHE_MIRRORS[@]} "
4848do
49- curl -SL " ${mirror} /${tarball_path} " | tar -xzf - -C " ${target_dir} "
50- if [ $? == 0 ]; then
49+ if curl -SL " ${mirror} /${tarball_path} " | tar -xzf - -C " ${target_dir} " ; then
5150 exit 0
5251 fi
5352done
You can’t perform that action at this time.
0 commit comments