diff options
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 769a7db..874c98d 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -2181,7 +2181,7 @@ int cmGlobalGenerator::Build( command != makeCommand.end() && retVal == 0; ++command) { makeCommandStr = command->Printable(); outputMakeCommandStr = command->QuotedPrintable(); - if (command != makeCommand.end()) { + if ((command + 1) != makeCommand.end()) { makeCommandStr += " && "; outputMakeCommandStr += " && "; } |