diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/mhmake/src/commandqueue.cpp | 7 | ||||
-rw-r--r-- | tools/mhmake/src/util.h | 2 |
2 files changed, 2 insertions, 7 deletions
diff --git a/tools/mhmake/src/commandqueue.cpp b/tools/mhmake/src/commandqueue.cpp index d2d462df6..45a1d1043 100644 --- a/tools/mhmake/src/commandqueue.cpp +++ b/tools/mhmake/src/commandqueue.cpp @@ -267,16 +267,11 @@ bool commandqueue::StartExecuteCommands(fileinfo* pTarget) pActiveEntry->pTarget=pTarget;
pActiveEntry->CurrentCommandIt=CommandIt;
- while (1)
+ while (pActiveEntry->CurrentCommandIt!=pRule->GetCommands().end())
{
if (StartExecuteNextCommand(pActiveEntry, &ActiveProcess))
{
pActiveEntry->CurrentCommandIt++;
- if (pActiveEntry->CurrentCommandIt==pRule->GetCommands().end())
- {
- // All commands executed
- break;
- }
}
else
{
diff --git a/tools/mhmake/src/util.h b/tools/mhmake/src/util.h index 342ec8c8a..333e36b00 100644 --- a/tools/mhmake/src/util.h +++ b/tools/mhmake/src/util.h @@ -50,7 +50,7 @@ #define PLATFORM "linux"
#endif
-#define MHMAKEVER "3.0.5"
+#define MHMAKEVER "3.0.7"
class makecommand
{
|