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() {
37
37
38
38
trap " cleanup" EXIT
39
39
cd " $tmp "
40
- curl -Lsfo $( basename $url ) " $url "
40
+ curl -Lsfo $( basename $url ) " $url " --retry 5
41
41
echo " Installing java from $( basename $url ) $url "
42
42
mkdir $output_dir
43
43
echo " Unpacking to $output_dir "
44
44
tar --strip-components 1 -xzf " jdk-${java_version} _${platformarch} _bin.tar.gz" --no-same-owner --directory " $output_dir "
45
45
46
- popd
46
+ popd
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ cleanup() {
34
34
35
35
trap " cleanup" EXIT
36
36
cd " $tmp "
37
- curl -Lsfo $( basename $url ) " $url "
37
+ curl -Lsfo $( basename $url ) " $url " --retry 5
38
38
echo " Installing node from $( basename $url ) $url "
39
39
mkdir $output_dir
40
40
echo " 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 )"
6
6
reporoot=" $( dirname " $( dirname " $scriptroot " ) " ) "
7
7
nginxinstall=" $reporoot /.tools/nginx"
8
8
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/
10
10
./configure --prefix=$nginxinstall --with-http_ssl_module --without-http_rewrite_module
11
11
make
12
12
make install
You can’t perform that action at this time.
0 commit comments