diff options
author | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2022-01-26 12:27:00 +0100 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2022-02-22 16:06:24 +0000 |
commit | 684601a8bb58246a57a269b9960f4ad2b1577147 (patch) | |
tree | 4e0b5a27ac08da011b153a67c1d660701df937da /kubernetes/common | |
parent | ea1f9f60ff06c72f69a5bee1cdd31884125e36ac (diff) |
[COMMON] Fix typo in import-custom-certs.sh
It resulted in an error at runtime:
/root/import-custom-certs.sh: line 30: syntax error: unexpected "then"
Issue existed since change Ie9b5ac1c2edd9ddf3574f09c77ca8734f2311d1d
Change-Id: I8b9f771eaccc9f1cdbd45159f2199b33c9b5d826
Issue-ID: OOM-2919
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'kubernetes/common')
-rwxr-xr-x | kubernetes/common/cert-wrapper/resources/import-custom-certs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/common/cert-wrapper/resources/import-custom-certs.sh b/kubernetes/common/cert-wrapper/resources/import-custom-certs.sh index fa3de03ece..96b0c0c0c8 100755 --- a/kubernetes/common/cert-wrapper/resources/import-custom-certs.sh +++ b/kubernetes/common/cert-wrapper/resources/import-custom-certs.sh @@ -41,7 +41,7 @@ for f in $CERTS_DIR/*; do if echo $f | grep '\.sh$' >/dev/null; then continue fi - if echo $f | grep '\.b64$' >/dev/null; then + if echo $f | grep '\.b64$' >/dev/null then base64 -d $f > $WORK_DIR/`basename $f .b64` else @@ -87,4 +87,4 @@ if [ $? != 0 ] exit 1 else cp /etc/ssl/certs/ca-certificates.crt $WORK_DIR/. -fi
\ No newline at end of file +fi |