diff --git a/laravel/cli/tasks/bundle/providers/github.php b/laravel/cli/tasks/bundle/providers/github.php index 6bfd9a4a..b8a63720 100644 --- a/laravel/cli/tasks/bundle/providers/github.php +++ b/laravel/cli/tasks/bundle/providers/github.php @@ -17,9 +17,9 @@ public function install($bundle) // If the installation target directory doesn't exist, we will create // it recursively so that we can properly add the Git submodule for // the bundle when we install. - if ( ! is_dir(path('bundle').$path)) + if ( ! is_dir(dirname(path('bundle').$path))) { - mkdir(path('bundle').$path, 0777, true); + mkdir(dirname(path('bundle').$path), 0777, true); } // We need to just extract the basename of the bundle path when