Commit 55ca2075 by Yvon

bash and operator syntax fix

parent 1941d39f
Pipeline #3183 failed with stage
in 1 minute 7 seconds
......@@ -47,6 +47,6 @@ echo "START PROCESS" "${coop}" "${instance}" "${repo}" "${now}"
update_code "${coop}" "${instance}" "${repo}" "${now}" "${send_mails}" || exit 1
echo "DONE"
if [[ "${instance}" == "preprod" ]] -a ${send_mails}; then
if [[ "${instance}" == "preprod" ]] && ${send_mails}; then
python3 "${ci_dir}/send_mail.py" "${ci_data_dir}/ci_diff_third-party_${now}.txt" "${ci_data_dir}/ci_diff_Odoo_${now}.txt" "${coop}"
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment