From cf33cae228a199ae304aada1584c00da7ecad86a Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 1 Feb 2012 09:48:48 -0600 Subject: [PATCH] fix github provider. --- laravel/cli/tasks/bundle/providers/github.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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