Merge branch '1.3-bake' of dev@code.cakephp.org:cakephp into 1.3-bake

This commit is contained in:
mark_story 2009-07-28 17:06:59 -04:00
commit 092f58ba79

View file

@ -56,9 +56,10 @@ class BakeShell extends Shell {
if (isset($this->params['connection'])) {
$this->{$task}->connection = $this->params['connection'];
}
foreach($this->args as &$arg) {
foreach($this->args as $i => $arg) {
if (strpos($arg, '.')) {
list($this->params['plugin'], $arg) = explode('.', $arg);
list($this->params['plugin'], $this->args[$i]) = explode('.', $arg);
break;
}
}
if (isset($this->params['plugin'])) {