X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fpharext%2FSourceDir%2FPecl.php;h=351eaa21eae0b869dcb1cf857d049a4b426c821a;hb=e8a5f7bb7babd1dfc0d8bff3d98dd6a4751d1bf4;hp=188ea67e98f57097f5e382c2a5734eab52bcf2fe;hpb=8bb44cb1907aff0691bf0b40443ef81d2251c29f;p=pharext%2Fpharext diff --git a/src/pharext/SourceDir/Pecl.php b/src/pharext/SourceDir/Pecl.php index 188ea67..351eaa2 100644 --- a/src/pharext/SourceDir/Pecl.php +++ b/src/pharext/SourceDir/Pecl.php @@ -46,7 +46,7 @@ class Pecl implements \IteratorAggregate, SourceDir $sxe->registerXPathNamespace("pecl", $sxe->getDocNamespaces()[""]); $this->sxe = $sxe; - $this->path = $path; + $this->path = realpath($path); } /** @@ -148,7 +148,7 @@ class Pecl implements \IteratorAggregate, SourceDir } /* files */ - yield $this->file; + yield realpath($this->file); foreach ($this->sxe->xpath("//pecl:file") as $file) { yield realpath($this->path ."/". $this->dirOf($file) ."/". $file["name"]); }