From 5d62c5073226cbeb229a49e80337870b7c8dd67e Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 24 Nov 2009 20:13:29 -0500 Subject: [PATCH] Fix for bug #9965 -i was not passed to -E commands. --- Source/cmakemain.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index 766eead53a..ddff71d9ed 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -423,7 +423,7 @@ int do_cmake(int ac, char** av) std::vector args; for(int i =0; i < ac; ++i) { - if(strcmp(av[i], "-i") == 0) + if(!command && strcmp(av[i], "-i") == 0) { wiz = true; }