1
0
Fork 0

Make repository path absolute (again)

pull/4422/head
Dennis Birkholz 2015-09-18 15:01:06 +02:00
parent 973491b65d
commit 3ef222c920
1 changed files with 2 additions and 0 deletions

View File

@ -104,6 +104,8 @@ class PathRepository extends ArrayRepository
$foundPackage = false; $foundPackage = false;
foreach ($this->getPaths() as $path) { foreach ($this->getPaths() as $path) {
$path = realpath($path);
$composerFilePath = $path.'composer.json'; $composerFilePath = $path.'composer.json';
if (!file_exists($composerFilePath)) { if (!file_exists($composerFilePath)) {
continue; continue;