Ticket #456: AbstractFileSet.php.patch
| File AbstractFileSet.php.patch, 819 bytes (added by ashnazg@…, 2 years ago) |
|---|
-
/home/ciadmin/AbstractFileSet.php.
old new 282 282 if (!$this->dir->exists()) { 283 283 throw new BuildException("Directory ".$this->dir->getAbsolutePath()." not found."); 284 284 } 285 if (!$this->dir->isDirectory()) { 286 throw new BuildException($this->dir->getAbsolutePath()." is not a directory."); 285 if (!$this->dir->isLink() || !$this->expandSymbolicLinks) { 286 if (!$this->dir->isDirectory()) { 287 throw new BuildException($this->dir->getAbsolutePath()." is not a directory."); 288 } 287 289 } 288 290 $ds = new DirectoryScanner(); 289 291 $ds->setExpandSymbolicLinks($this->expandSymbolicLinks);
