diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-09-07 07:06:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-09-07 07:06:11 +0000 |
commit | 0b7eb9ac71bf40746566b0dd48ddfca56b3dc2aa (patch) | |
tree | 8f1d36e2e6b68e62edf44e35e3eb5c3b2352d87a /kubernetes/config | |
parent | 970e502e6e61c9bdc9c4bae9ef4e7e1aaf821360 (diff) | |
parent | 42f91fc8f9467f9f7fb9ac7e6349b33964b63127 (diff) |
Merge "[COMMON] Fix ${foo:3[:1]} bashisms"
Diffstat (limited to 'kubernetes/config')
-rwxr-xr-x | kubernetes/config/prepull_docker.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/config/prepull_docker.sh b/kubernetes/config/prepull_docker.sh index 590d651f87..efd0bd14d3 100755 --- a/kubernetes/config/prepull_docker.sh +++ b/kubernetes/config/prepull_docker.sh @@ -102,7 +102,7 @@ do for line in `parse_yaml $filename` do #skiping commented line - if [ "${line:0:1}" != '#' ]; then + if echo "$line" | grep -v '^#' >/dev/null; then #find all image subtag inside converted values.yaml file's lines if echo $line | grep -q $IMAGE_TEXT ; then #find imageName inside line |