File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ cleanup() {
3737
3838trap " cleanup" EXIT
3939cd " $tmp "
40- curl -Lsfo $( basename $url ) " $url "
40+ curl -Lsfo $( basename $url ) " $url " --retry 5
4141echo " Installing java from $( basename $url ) $url "
4242mkdir $output_dir
4343echo " Unpacking to $output_dir "
4444tar --strip-components 1 -xzf " jdk-${java_version} _${platformarch} _bin.tar.gz" --no-same-owner --directory " $output_dir "
4545
46- popd
46+ popd
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ cleanup() {
3434
3535trap " cleanup" EXIT
3636cd " $tmp "
37- curl -Lsfo $( basename $url ) " $url "
37+ curl -Lsfo $( basename $url ) " $url " --retry 5
3838echo " Installing node from $( basename $url ) $url "
3939mkdir $output_dir
4040echo " Unpacking to $output_dir "
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ scriptroot="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
66reporoot=" $( dirname " $( dirname " $scriptroot " ) " ) "
77nginxinstall=" $reporoot /.tools/nginx"
88
9- curl -sSL http://nginx.org/download/nginx-1.14.2.tar.gz | tar zxfv - -C /tmp && cd /tmp/nginx-1.14.2/
9+ curl -sSL http://nginx.org/download/nginx-1.14.2.tar.gz --retry 5 | tar zxfv - -C /tmp && cd /tmp/nginx-1.14.2/
1010./configure --prefix=$nginxinstall --with-http_ssl_module --without-http_rewrite_module
1111make
1212make install
You can’t perform that action at this time.
0 commit comments