From 3ef222c9201e990aa380930802678467c558401f Mon Sep 17 00:00:00 2001 From: Dennis Birkholz Date: Fri, 18 Sep 2015 15:01:06 +0200 Subject: [PATCH] Make repository path absolute (again) --- src/Composer/Repository/PathRepository.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Composer/Repository/PathRepository.php b/src/Composer/Repository/PathRepository.php index 665e4037b..891320118 100644 --- a/src/Composer/Repository/PathRepository.php +++ b/src/Composer/Repository/PathRepository.php @@ -104,6 +104,8 @@ class PathRepository extends ArrayRepository $foundPackage = false; foreach ($this->getPaths() as $path) { + $path = realpath($path); + $composerFilePath = $path.'composer.json'; if (!file_exists($composerFilePath)) { continue;