Fix for bug #9965 -i was not passed to -E commands.

This commit is contained in:
Bill Hoffman 2009-11-24 20:13:29 -05:00
parent 254d267e36
commit 5d62c50732
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ int do_cmake(int ac, char** av)
std::vector<std::string> args;
for(int i =0; i < ac; ++i)
{
if(strcmp(av[i], "-i") == 0)
if(!command && strcmp(av[i], "-i") == 0)
{
wiz = true;
}