Modify ↓
Ticket #456 (closed enhancement: fixed)
Fileset's dir should honor expandsymboliclinks
| Reported by: | ashnazg@… | Owned by: | mrook |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.4.1 |
| Component: | phing-core | Version: | 2.4.0 |
| Keywords: | Cc: |
Description
The dir checking logic in AbstractFileSet::getDirectoryScanner does not allow the dir's value to itself be a symlink... presumably expandsymboliclinks only currently applies to the contents inside the dir, rather than the dir itself.
This patch ignores the isDirectory() check if the dir value is a symlink AND the expandsymboliclinks is TRUE.
An improvement to this patch might be some additional checking to be done when dir is found to be a symlink.
Attachments
Change History
Changed 2 years ago by ashnazg@…
-
attachment
AbstractFileSet.php.patch
added
Note: See
TracTickets for help on using
tickets.

wrap the isDir check with an isLink check