diff options
author | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2022-01-26 12:27:00 +0100 |
---|---|---|
committer | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2022-01-26 12:27:00 +0100 |
commit | 44037b9217fe74c2c4d7651ca347745f85933f6a (patch) | |
tree | 29b6d64aa23e9152e334dba03ddb752af4d5f646 /kubernetes | |
parent | 0e5429bd71934da81e6306a914e0d88010ab4eae (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')
-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 |