File tree Expand file tree Collapse file tree 2 files changed +4
-14
lines changed
modules/kube-audit/scripts Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,7 @@ RETURN_CODE_ERROR=1
1111echo " Downloading common-bash-library version ${TAG} ."
1212
1313# download common-bash-library
14- set +e
15- if ! curl --silent \
14+ curl --silent \
1615 --connect-timeout 5 \
1716 --max-time 10 \
1817 --retry 3 \
@@ -22,11 +21,7 @@ if ! curl --silent \
2221 --show-error \
2322 --location \
2423 --output " ${DIRECTORY} /common-bash.tar.gz" \
25- " https://github.com/terraform-ibm-modules/common-bash-library/archive/refs/tags/$TAG .tar.gz" ; then
26- echo " Failed to download common-bash-library"
27- return ${RETURN_CODE_ERROR}
28- fi
29- set -e
24+ " https://github.com/terraform-ibm-modules/common-bash-library/archive/refs/tags/$TAG .tar.gz"
3025
3126mkdir -p " common-bash-library"
3227tar -xzf " ${DIRECTORY} /common-bash.tar.gz" --strip-components=1 -C " common-bash-library"
Original file line number Diff line number Diff line change @@ -11,8 +11,7 @@ RETURN_CODE_ERROR=1
1111echo " Downloading common-bash-library version ${TAG} ."
1212
1313# download common-bash-library
14- set +e
15- if ! curl --silent \
14+ curl --silent \
1615 --connect-timeout 5 \
1716 --max-time 10 \
1817 --retry 3 \
@@ -22,11 +21,7 @@ if ! curl --silent \
2221 --show-error \
2322 --location \
2423 --output " ${DIRECTORY} /common-bash.tar.gz" \
25- " https://github.com/terraform-ibm-modules/common-bash-library/archive/refs/tags/$TAG .tar.gz" ; then
26- echo " Failed to download common-bash-library"
27- return ${RETURN_CODE_ERROR}
28- fi
29- set -e
24+ " https://github.com/terraform-ibm-modules/common-bash-library/archive/refs/tags/$TAG .tar.gz"
3025
3126mkdir -p " common-bash-library"
3227tar -xzf " ${DIRECTORY} /common-bash.tar.gz" --strip-components=1 -C " common-bash-library"
You can’t perform that action at this time.
0 commit comments