From 1453aad95c8667530a019787753015e71f730b92 Mon Sep 17 00:00:00 2001 From: marha Date: Thu, 12 Nov 2009 11:58:39 +0000 Subject: Solved problem when there are spaces in the commands to execute. Fix suggested by David Lawler (djlawler@users.sourceforge.net) --- tools/mhmake/src/build.cpp | 2 +- tools/mhmake/src/util.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/mhmake') diff --git a/tools/mhmake/src/build.cpp b/tools/mhmake/src/build.cpp index d869fd69b..a9437504f 100644 --- a/tools/mhmake/src/build.cpp +++ b/tools/mhmake/src/build.cpp @@ -998,7 +998,7 @@ bool OsExeCommand(const string &Command,const string &Params,bool IgnoreError,st { string tmpCommand=Command.substr(ComSpec.size(),Command.size()); FullCommandLine=ComSpec; - FullCommandLine+=QuoteFileName(tmpCommand)+Params; + FullCommandLine+=g_QuoteString+QuoteFileName(tmpCommand)+Params+g_QuoteString; } else { diff --git a/tools/mhmake/src/util.h b/tools/mhmake/src/util.h index 4bb17ef07..9f632ab48 100644 --- a/tools/mhmake/src/util.h +++ b/tools/mhmake/src/util.h @@ -50,7 +50,7 @@ #define PLATFORM "linux" #endif -#define MHMAKEVER "1.4.5" +#define MHMAKEVER "1.4.6" #define MAKEDEPFILE ".makefile.dep" -- cgit v1.2.3