This commit is contained in:
Dmitry Khomutov 2017-04-13 22:52:03 +07:00
commit 3f7882bfe9
No known key found for this signature in database
GPG key ID: 7EB36C9576F9ECB9

View file

@ -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');