Permalink
Browse files

Fixing wierd workflows in bake when project baking was aborted, it wo…

…uld ask if you wanted to create a database config file for the aborted app.
  • Loading branch information...
1 parent ad8cba4 commit e6c58e80306b1b00f5b0c1276f729f5532cdd08f @markstory markstory committed Oct 31, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 cake/console/libs/bake.php
@@ -81,6 +81,8 @@ function main() {
if (!is_dir($this->DbConfig->path)) {
if ($this->Project->execute()) {
$this->DbConfig->path = $this->params['working'] . DS . 'config' . DS;
+ } else {
+ return false;
}
}

0 comments on commit e6c58e8

Please sign in to comment.