File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
modules/kube-audit/scripts Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ set -o pipefail
66DIRECTORY=${1:- " /tmp" }
77# renovate: datasource=github-tags depName=terraform-ibm-modules/common-bash-library
88TAG=v0.2.0
9- RETURN_CODE_ERROR=1
109
1110echo " Downloading common-bash-library version ${TAG} ."
1211
@@ -23,19 +22,19 @@ curl --silent \
2322 --output " ${DIRECTORY} /common-bash.tar.gz" \
2423 " https://github.com/terraform-ibm-modules/common-bash-library/archive/refs/tags/$TAG .tar.gz"
2524
26- mkdir -p " common-bash-library"
27- tar -xzf " ${DIRECTORY} /common-bash.tar.gz" --strip-components=1 -C " common-bash-library"
25+ mkdir -p " ${DIRECTORY} / common-bash-library"
26+ tar -xzf " ${DIRECTORY} /common-bash.tar.gz" --strip-components=1 -C " ${DIRECTORY} / common-bash-library"
2827rm -f " ${DIRECTORY} /common-bash.tar.gz"
2928
3029# TThe file doesn’t exist at the time shellcheck runs, so this check is skipped.
3130# shellcheck disable=SC1091
32- source . /common-bash-library/common/common.sh
31+ source " ${DIRECTORY} /common-bash-library/common/common.sh"
3332
3433echo " Installing jq."
3534install_jq " latest" " ${DIRECTORY} " " true"
3635echo " Installing kubectl."
3736install_kubectl " latest" " ${DIRECTORY} " " true"
3837
39- rm -rf common-bash-library
38+ rm -rf " ${DIRECTORY} / common-bash-library"
4039
4140echo " Installation complete successfully"
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ set -o pipefail
66DIRECTORY=${1:- " /tmp" }
77# renovate: datasource=github-tags depName=terraform-ibm-modules/common-bash-library
88TAG=v0.2.0
9- RETURN_CODE_ERROR=1
109
1110echo " Downloading common-bash-library version ${TAG} ."
1211
@@ -23,19 +22,19 @@ curl --silent \
2322 --output " ${DIRECTORY} /common-bash.tar.gz" \
2423 " https://github.com/terraform-ibm-modules/common-bash-library/archive/refs/tags/$TAG .tar.gz"
2524
26- mkdir -p " common-bash-library"
27- tar -xzf " ${DIRECTORY} /common-bash.tar.gz" --strip-components=1 -C " common-bash-library"
25+ mkdir -p " ${DIRECTORY} / common-bash-library"
26+ tar -xzf " ${DIRECTORY} /common-bash.tar.gz" --strip-components=1 -C " ${DIRECTORY} / common-bash-library"
2827rm -f " ${DIRECTORY} /common-bash.tar.gz"
2928
3029# TThe file doesn’t exist at the time shellcheck runs, so this check is skipped.
3130# shellcheck disable=SC1091
32- source . /common-bash-library/common/common.sh
31+ source " ${DIRECTORY} /common-bash-library/common/common.sh"
3332
3433echo " Installing jq."
3534install_jq " latest" " ${DIRECTORY} " " true"
3635echo " Installing kubectl."
3736install_kubectl " latest" " ${DIRECTORY} " " true"
3837
39- rm -rf common-bash-library
38+ rm -rf " ${DIRECTORY} / common-bash-library"
4039
4140echo " Installation complete successfully"
You can’t perform that action at this time.
0 commit comments