Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing plugin option + locations subcommand.

  • Loading branch information...
commit 95f3eb48f9d8a938e48d61402fa2287ee9aa48c9 1 parent a268eea
Mark Story markstory authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/Cake/Console/Command/UpgradeShell.php
4 lib/Cake/Console/Command/UpgradeShell.php
View
@@ -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');
Please sign in to comment.
Something went wrong with that request. Please try again.