diff options
author | Guillaume Lambert <guillaume.lambert@orange.com> | 2021-03-11 20:58:04 +0100 |
---|---|---|
committer | Krzysztof Opasiak <k.opasiak@samsung.com> | 2021-08-31 12:55:00 +0000 |
commit | 41cad4a91804d4a1b0ce2fd366302a9276f8533a (patch) | |
tree | 59407ef05b098aeb840f68c7795aff32bcb0b65f /kubernetes/robot/scripts/etescript | |
parent | bd1b9ab1891c275cb3b499956ceb0b498a634475 (diff) |
[COMMON] Fix brace expansion bashisms
pointed out by checkbashisms
Issue-ID: OOM-2643
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: If162bba41eec0998bd6eaf321eebe2e7834aca29
Diffstat (limited to 'kubernetes/robot/scripts/etescript')
-rwxr-xr-x | kubernetes/robot/scripts/etescript/hvves-etescript.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/robot/scripts/etescript/hvves-etescript.sh b/kubernetes/robot/scripts/etescript/hvves-etescript.sh index b47051f7e2..63e90cdec6 100755 --- a/kubernetes/robot/scripts/etescript/hvves-etescript.sh +++ b/kubernetes/robot/scripts/etescript/hvves-etescript.sh @@ -49,21 +49,21 @@ create_pkcs12_ca_and_server () { } copy_server_certs_to_hvves () { - for f in {ca.p12,server.p12} + for f in ca.p12 server.p12 do kubectl cp $1/$f $2/$3:$4 done } copy_client_certs_to_robot () { - for f in {ca.pem,client.key,client.pem} + for f in ca.pem client.key client.pem do kubectl cp $1/$f $2/$3:$4 done } cleanup () { - rm -f $1/{ca,server,client}.??? + rm -f $1/ca.??? $1/server.??? s$1/client.??? } |