MantisBT - CMake |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0011541 | CMake | CMake | public | 2010-11-30 14:19 | 2010-12-09 10:40 |
|
| Reporter | Lauro Moura | |
| Assigned To | Brad King | |
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | amd64 | OS | Ubuntu | OS Version | 10.04 |
| Product Version | CMake-2-8 | |
| Target Version | | Fixed in Version | | |
|
| Summary | 0011541: find_program resolves symbolic links for paths in $PATH |
| Description | find_program seems to be resolving symbolic links for paths in the default search path.
Example: Maemo's Scratchbox links /target/<target-name>/usr to the current active /usr. using find_program for python will return /target/<target_name>/usr/bin/python instead of /usr/bin/python, making it useless to store this information for use by other projects as <target-name> can change in automatic builds, for example.
Is resolving symbolic links the expected behavior for find_program? |
| Steps To Reproduce | Use find_program to search for a program that is in a symbolic link directory also present in $PATH.
The returned value will have the source of the link instead of the link. |
| Additional Information | If the directory link is given in the PATHS argument the program is returned without resolving links. |
| Tags | No tags attached. |
| Relationships | | duplicate of | 0010335 | closed | Brad King | FIND_XXX problem with symlinks when using ENV |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2010-11-30 14:19 | Lauro Moura | New Issue | |
| 2010-12-01 07:32 | Marcel Loose | Note Added: 0023634 | |
| 2010-12-09 10:40 | Brad King | Assigned To | => Brad King |
| 2010-12-09 10:40 | Brad King | Status | new => assigned |
| 2010-12-09 10:40 | Brad King | Relationship added | duplicate of 0010335 |
| 2010-12-09 10:40 | Brad King | Status | assigned => closed |
| 2010-12-09 10:40 | Brad King | Resolution | open => fixed |