fix github provider.

This commit is contained in:
Taylor Otwell 2012-02-01 09:48:48 -06:00
parent 068e92286d
commit cf33cae228
1 changed files with 2 additions and 2 deletions

View File

@ -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