diff --git a/cake/console/libs/bake.php b/cake/console/libs/bake.php index f99010c4c..7f1f0ad67 100644 --- a/cake/console/libs/bake.php +++ b/cake/console/libs/bake.php @@ -81,6 +81,8 @@ class BakeShell extends Shell { if (!is_dir($this->DbConfig->path)) { if ($this->Project->execute()) { $this->DbConfig->path = $this->params['working'] . DS . 'config' . DS; + } else { + return false; } }