diff options
Diffstat (limited to 'tools/mhmake/src/util.cpp')
-rw-r--r-- | tools/mhmake/src/util.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/mhmake/src/util.cpp b/tools/mhmake/src/util.cpp index 8b7d2b164..2ff5a03f3 100644 --- a/tools/mhmake/src/util.cpp +++ b/tools/mhmake/src/util.cpp @@ -341,9 +341,8 @@ loadedmakefile::loadedmakefile_statics::loadedmakefile_statics() const char *pEnv=getenv(MHMAKECONF);
if (pEnv)
{
- string Env(QuoteFileName(pEnv));
- m_GlobalCommandLineVars[MHMAKECONF]=Env;
- m_MhMakeConf=GetAbsFileInfo(Env);
+ m_MhMakeConf=GetAbsFileInfo(pEnv);
+ m_GlobalCommandLineVars[MHMAKECONF]=QuoteFileName(m_MhMakeConf->GetFullFileName());
// Get the revision of the working copy
// We do it with the svn info command
|