converted path constants to $GLOBALS.
This commit is contained in:
@@ -17,7 +17,7 @@ class Github implements Provider {
|
||||
// a location outside of the Git repository, so we don't need
|
||||
// the full bundle path. We'll just take the basename in case
|
||||
// the bundle directory has been renamed.
|
||||
$path = basename(BUNDLE_PATH).'/';
|
||||
$path = basename($GLOBALS['BUNDLE_PATH']).'/';
|
||||
|
||||
passthru('git submodule add '.$repository.' '.$path.$bundle['name']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user