diff options
author | 2021-05-26 06:56:35 +0000 | |
---|---|---|
committer | 2021-05-26 06:56:35 +0000 | |
commit | f4438980a2e002fdfb684ba30870f2349e38a4c3 (patch) | |
tree | 3a9ff4e35da00dfcbdb07cfaa2710a1978a2dccd /kubernetes/robot/scripts/etescript/vnfsdk-etescript.sh | |
parent | 9970854c6fec9e99bf8c5fd88d2183041a8c9fb7 (diff) | |
parent | ba6e50fd66d06231ff96f9a9c9a4b25b91fa5623 (diff) |
Merge "[COMMON] Fix condition bracket bashisms - step 1"
Diffstat (limited to 'kubernetes/robot/scripts/etescript/vnfsdk-etescript.sh')
-rwxr-xr-x | kubernetes/robot/scripts/etescript/vnfsdk-etescript.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/robot/scripts/etescript/vnfsdk-etescript.sh b/kubernetes/robot/scripts/etescript/vnfsdk-etescript.sh index 19864d438c..a93f109085 100755 --- a/kubernetes/robot/scripts/etescript/vnfsdk-etescript.sh +++ b/kubernetes/robot/scripts/etescript/vnfsdk-etescript.sh @@ -35,7 +35,7 @@ copy_package_certs_to_robot () { mkdir "$DIR/$SCRIPTDIR/tmp" cd "$DIR/$SCRIPTDIR/tmp" -if [[ -f rootCA-robot-$SDCVALID.cert && -f package-robot-$SDCVALID.cert && -f package-robot-$SDCINVALID.cert && -f package-private-robot-$SDCVALID.key && -f package-private-robot-$SDCINVALID.key ]]; then +if [ -f rootCA-robot-$SDCVALID.cert ] && [ -f package-robot-$SDCVALID.cert ] && [ -f package-robot-$SDCINVALID.cert ] && [ -f package-private-robot-$SDCVALID.key ] && [ -f package-private-robot-$SDCINVALID.key ]; then echo "All files are present"; else generate_ca_key_cert_and_package_cert_issued_by_CA $SDCVALID |