View Issue Details [ Jump to Notes ] | [ Print ] |
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. |
|
Attached Files | |
|