projects
/
pharext
/
pharext
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
8bb44cb
)
fix for symlinks
author
Michael Wallner
<mike@php.net>
Sat, 28 Mar 2015 07:10:53 +0000
(08:10 +0100)
committer
Michael Wallner
<mike@php.net>
Sat, 28 Mar 2015 07:10:53 +0000
(08:10 +0100)
src/pharext/SourceDir/Pecl.php
patch
|
blob
|
history
diff --git
a/src/pharext/SourceDir/Pecl.php
b/src/pharext/SourceDir/Pecl.php
index 188ea67e98f57097f5e382c2a5734eab52bcf2fe..351eaa21eae0b869dcb1cf857d049a4b426c821a 100644
(file)
--- 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"]);
}