diff --git a/script/build_push_k8s_images.sh b/script/build_push_k8s_images.sh index efd092c19..50c194dda 100644 --- a/script/build_push_k8s_images.sh +++ b/script/build_push_k8s_images.sh @@ -1,8 +1,10 @@ #!/usr/bin/env bash version=errcode repository=${1} -if [ -z ${repository} ] -exit 0 +if [[ -z ${repository} ]] +then + echo "repository is empty" + exit 0 fi set +e