From 27bc6d5e30150409259aa9030e668e801eb0b5a6 Mon Sep 17 00:00:00 2001 From: marha Date: Sat, 17 Oct 2009 17:31:04 +0000 Subject: Solved crash when svn command is not found. --- tools/mhmake/src/util.cpp | 2 +- tools/mhmake/src/util.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/mhmake/src') diff --git a/tools/mhmake/src/util.cpp b/tools/mhmake/src/util.cpp index f89009206..86b6ffcd1 100644 --- a/tools/mhmake/src/util.cpp +++ b/tools/mhmake/src/util.cpp @@ -279,7 +279,7 @@ loadedmakefile::loadedmakefile_statics::loadedmakefile_statics() string SvnCommand=SearchCommand("svn",EXEEXT); Ret=OsExeCommand(SvnCommand,string(" info ")+m_MhMakeConf->GetQuotedFullFileName(),false,&Output); } - catch (int) + catch (string Message) { Ret=false; } diff --git a/tools/mhmake/src/util.h b/tools/mhmake/src/util.h index 607c1cb37..0ec798ab9 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.1" +#define MHMAKEVER "1.4.2" #define MAKEDEPFILE ".makefile.dep" -- cgit v1.2.3