Repository: cloudstack Updated Branches: refs/heads/master a0006a699 -> 2491630f5
git: don't let db-police hook fail for no changes in setup/db Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2491630f Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2491630f Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2491630f Branch: refs/heads/master Commit: 2491630f51270af62043fbfe76c928cd326879ee Parents: a0006a6 Author: Rohit Yadav <rohit.ya...@shapeblue.com> Authored: Fri Aug 8 15:52:07 2014 +0200 Committer: Rohit Yadav <rohit.ya...@shapeblue.com> Committed: Fri Aug 8 15:52:07 2014 +0200 ---------------------------------------------------------------------- tools/git/db-police | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2491630f/tools/git/db-police ---------------------------------------------------------------------- diff --git a/tools/git/db-police b/tools/git/db-police index c2fd8ce..fd52ef7 100755 --- a/tools/git/db-police +++ b/tools/git/db-police @@ -42,7 +42,7 @@ check_changes() { alert_command="command -v festival && $(echo '$1' | festival --tts)" 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"