From 69e9848fb44ab3f27bf400666a7d2f16ed74f5a6 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Wed, 29 Aug 2007 14:35:06 -0400 Subject: BUG: this seems to fix the regexp result-storage problem, now it seems the actual result is tored instead of "1" , as it happened for StringFileTest on Windows Alex --- Source/cmIfCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx index 12d156c..f5bd6cc 100644 --- a/Source/cmIfCommand.cxx +++ b/Source/cmIfCommand.cxx @@ -384,8 +384,8 @@ bool cmIfCommand::IsTrue(const std::vector &args, } if (regEntry.find(def)) { - *arg = "1"; cmStringCommand::StoreMatches(makefile, regEntry); + *arg = "1"; } else { -- cgit v0.12