From 0c69b2c0c0193ee46ffbacf694d3af9aad51fa0d Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 1 Feb 2012 09:51:07 -0600 Subject: [PATCH] tweaked 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 b8a63720..dd086e9a 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(dirname(path('bundle').$path))) + if ( ! is_dir($target = dirname(path('bundle').$path))) { - mkdir(dirname(path('bundle').$path), 0777, true); + mkdir($target, 0777, true); } // We need to just extract the basename of the bundle path when