diff options
author | marha <marha@users.sourceforge.net> | 2009-11-12 11:58:39 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-11-12 11:58:39 +0000 |
commit | 1453aad95c8667530a019787753015e71f730b92 (patch) | |
tree | 61e10e99ff4550c857804ee69e96c5b90df7b07d /tools/mhmake | |
parent | ad1a1db73c33e35fac0dd2be75b6fb588ef9fe40 (diff) | |
download | vcxsrv-1453aad95c8667530a019787753015e71f730b92.tar.gz vcxsrv-1453aad95c8667530a019787753015e71f730b92.tar.bz2 vcxsrv-1453aad95c8667530a019787753015e71f730b92.zip |
Solved problem when there are spaces in the commands to execute.
Fix suggested by David Lawler (djlawler@users.sourceforge.net)
Diffstat (limited to 'tools/mhmake')
-rw-r--r-- | tools/mhmake/src/build.cpp | 2 | ||||
-rw-r--r-- | tools/mhmake/src/util.h | 2 |
2 files changed, 2 insertions, 2 deletions
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"
|