Fixed #61
This commit is contained in:
parent
75ebe61341
commit
3f7882bfe9
1 changed files with 2 additions and 2 deletions
|
|
@ -73,7 +73,7 @@ class RemoteGitBuild extends Build
|
|||
*/
|
||||
protected function cloneByHttp(Builder $builder, $cloneTo)
|
||||
{
|
||||
$cmd = 'git clone --recursive ';
|
||||
$cmd = 'cd .. && git clone --recursive ';
|
||||
|
||||
$depth = $builder->getConfig('clone_depth');
|
||||
|
||||
|
|
@ -100,7 +100,7 @@ class RemoteGitBuild extends Build
|
|||
$gitSshWrapper = $this->writeSshWrapper($cloneTo, $keyFile);
|
||||
|
||||
// Do the git clone:
|
||||
$cmd = 'git clone --recursive ';
|
||||
$cmd = 'cd .. && git clone --recursive ';
|
||||
|
||||
$depth = $builder->getConfig('clone_depth');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue