Skip to content

Commit

Permalink
Fixing plugin option + locations subcommand.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 7, 2011
1 parent a268eea commit 95f3eb4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Cake/Console/Command/UpgradeShell.php
Expand Up @@ -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');
Expand Down

0 comments on commit 95f3eb4

Please sign in to comment.