Skip to content

Commit

Permalink
Merge pull request #191 from mtisi/master
Browse files Browse the repository at this point in the history
Installer process checkout on project root
  • Loading branch information
gravitano committed Dec 23, 2015
2 parents 5cfe969 + 0649359 commit 020b5b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Process/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,11 @@ public function getPackageName()
public function installViaGit()
{
return new Process(sprintf(
'cd %s && git clone %s %s && git checkout %s',
'cd %s && git clone %s %s && cd %s && git checkout %s',
base_path(),
$this->getRepoUrl(),
$this->getDestinationPath(),
$this->getDestinationPath(),
$this->getBranch()
));
}
Expand Down

0 comments on commit 020b5b8

Please sign in to comment.