Fix usage of GitDownloader with relative paths, fixes #1843
parent
81f1451118
commit
343d4effaa
|
@ -272,7 +272,7 @@ class GitDownloader extends VcsDownloader
|
|||
{
|
||||
if ($initialClone) {
|
||||
$origCwd = $cwd;
|
||||
$cwd = dirname($cwd);
|
||||
$cwd = null;
|
||||
}
|
||||
|
||||
if (preg_match('{^ssh://[^@]+@[^:]+:[^0-9]+}', $url)) {
|
||||
|
|
Loading…
Reference in New Issue