diff --git a/scripts/helm/upgrade.sh b/scripts/helm/upgrade.sh index 1610811fd..23526cd20 100644 --- a/scripts/helm/upgrade.sh +++ b/scripts/helm/upgrade.sh @@ -67,7 +67,7 @@ patch(){ ) for var in ${vars[@]};do # Get old value - old_val=`grep $var ${openreplay_old_dir}/scripts/helm/app/chalice.yaml| cutl -d" " f4|xargs` + old_val=`grep $var ${openreplay_old_dir}/scripts/helm/app/chalice.yaml| cut -d" " -f4|xargs` # Coverting caps env var to small ansible variable. # In chalice EMAIL_HOST translates to email_host in vars.yaml # Ref: https://stackoverflow.com/questions/2264428/how-to-convert-a-string-to-lower-case-in-bash