Browse files

Fixing plugin option + locations subcommand.

  • Loading branch information...
1 parent a268eea commit 95f3eb48f9d8a938e48d61402fa2287ee9aa48c9 @markstory markstory committed Aug 7, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/Cake/Console/Command/UpgradeShell.php
View
4 lib/Cake/Console/Command/UpgradeShell.php
@@ -71,6 +71,10 @@ public function all() {
public function locations() {
$cwd = getcwd();
+ if (!empty($this->params['plugin'])) {
+ chdir(App::pluginPath($this->params['plugin']));
+ }
+
if (is_dir('plugins')) {
$Folder = new Folder('plugins');

0 comments on commit 95f3eb4

Please sign in to comment.