MantisBT - CMake
View Issue Details
0009965CMakeCMakepublic2009-11-24 19:032009-11-24 20:14
hsorby 
 
normalminoralways
closedfixed 
CMake-2-6 
 
0009965: cmake -E chdir consumes command arguments when they match cmake arguments

cmake -E chdir is consuming command arguments when they match cmake arguments

To reproduce try

cmake -E chdir . ls -i CMakeLists.txt

get:
CMakeLists.txt

expect:
17754 CMakeLists.txt

where the -i option is also an option for cmake wizard mode

Thanks to Alan Irwin for the example. Alan also notes this is a problem on his 2.8 linux cmake as well.
No tags attached.
related to 0006945closed  cmake -E chdir processes arguments improperly when arguments match cmake args 
Issue History
2009-11-24 19:03hsorbyNew Issue
2009-11-24 19:05hsorbyNote Added: 0018585
2009-11-24 20:14Bill HoffmanRelationship addedrelated to 0006945
2009-11-24 20:14Bill HoffmanNote Added: 0018587
2009-11-24 20:14Bill HoffmanStatusnew => closed
2009-11-24 20:14Bill HoffmanResolutionopen => fixed

Notes
(0018585)
hsorby   
2009-11-24 19:05   
I would have liked to reopen this bug:

http://www.cmake.org/Bug/view.php?id=6945 [^]

but couldn't figure out how.
(0018587)
Bill Hoffman   
2009-11-24 20:14   
cvs commit -m "Fix for bug 0009965 -i was not passed to -E commands." cmakemain.cxx
Committer: Bill Hoffman <bill.hoffman@kitware.com>
/cvsroot/CMake/CMake/Source/cmakemain.cxx,v <-- cmakemain.cxx
new revision: 1.91; previous revision: 1.90