Function proc_open doesn't accept a scheme for the current working directory, therefore stripped 'file://' for local repositories.
parent
a3fa19a716
commit
9e2c523faa
|
@ -39,7 +39,7 @@ class GitDriver extends VcsDriver
|
|||
public function initialize()
|
||||
{
|
||||
if (static::isLocalUrl($this->url)) {
|
||||
$this->repoDir = $this->url;
|
||||
$this->repoDir = str_replace('file://', '', $this->url);
|
||||
} else {
|
||||
$this->repoDir = sys_get_temp_dir() . '/composer-' . preg_replace('{[^a-z0-9.]}i', '-', $this->url) . '/';
|
||||
|
||||
|
|
Loading…
Reference in New Issue