Skip to content
Snippets Groups Projects
Commit 2a4a4c75eb69 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:ambulance: fix the grep that was incorrect

parent 98d44b6a22de
No related branches found
No related tags found
1 merge request!50Topic/default/fix not null detect
......@@ -13,6 +13,8 @@
Make start-py3o option work again.
Odoo 13 set not null errors when testing are ignored the same way it was in other versions.
8.0.1
-----
......
......@@ -117,7 +117,7 @@
fi
criticals=$(grep ' CRITICAL' -F $logfile -c)
# exclude ALTER COLUMN xxx set not null that are not real errors
errors=$(grep ' ERROR' -F $logfile | grep -v "(ALTER COLUMN \"\w*\" SET NOT NULL|unable to set NOT NULL on column)" -c)
errors=$(grep ' ERROR' -F $logfile | grep -E -v "(ALTER COLUMN \"\w*\" SET NOT NULL|unable to set NOT NULL on column)" -c)
warnings=$(grep ' WARNING' -F $logfile -c)
if [[ $criticals -gt 0 ]];
then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment