View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011541CMakeCMakepublic2010-11-30 14:192010-12-09 10:40
ReporterLauro Moura 
Assigned ToBrad King 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
Platformamd64OSUbuntuOS Version10.04
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0011541: find_program resolves symbolic links for paths in $PATH
Descriptionfind_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 ReproduceUse 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 InformationIf the directory link is given in the PATHS argument the program is returned without resolving links.
TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0010335closedBrad King FIND_XXX problem with symlinks when using ENV 

  Notes
(0023634)
Marcel Loose (developer)
2010-12-01 07:32

Is this issue somehow related to 0010335 ?

 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


Copyright © 2000 - 2018 MantisBT Team