aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/src
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-11-12 11:58:39 +0000
committermarha <marha@users.sourceforge.net>2009-11-12 11:58:39 +0000
commit1453aad95c8667530a019787753015e71f730b92 (patch)
tree61e10e99ff4550c857804ee69e96c5b90df7b07d /tools/mhmake/src
parentad1a1db73c33e35fac0dd2be75b6fb588ef9fe40 (diff)
downloadvcxsrv-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/src')
-rw-r--r--tools/mhmake/src/build.cpp2
-rw-r--r--tools/mhmake/src/util.h2
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"