mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
git: don't let db-police hook fail for no changes in setup/db
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
a0006a6990
commit
2491630f51
@ -42,7 +42,7 @@ check_changes() {
|
|||||||
alert_command="command -v festival && $(echo '$1' | festival --tts)"
|
alert_command="command -v festival && $(echo '$1' | festival --tts)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$changed_files" | grep --quiet "setup/db" && eval $alert_command
|
echo "$changed_files" | (grep --quiet "setup/db" && eval $alert_command) || true
|
||||||
}
|
}
|
||||||
|
|
||||||
check_changes "Alert, somebody changed CloudStack schemas"
|
check_changes "Alert, somebody changed CloudStack schemas"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user