aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/src/build.cpp
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-11-03 13:35:24 +0000
committermarha <marha@users.sourceforge.net>2009-11-03 13:35:24 +0000
commite376e2d6a81e1fb2e8afc1edb1fcfdcb10b027e7 (patch)
tree5db501da9b5272f0a8247d5b659db64d0c66ba90 /tools/mhmake/src/build.cpp
parentc9b1b51519b4bc44579adb254dc28aa89bc8c913 (diff)
downloadvcxsrv-e376e2d6a81e1fb2e8afc1edb1fcfdcb10b027e7.tar.gz
vcxsrv-e376e2d6a81e1fb2e8afc1edb1fcfdcb10b027e7.tar.bz2
vcxsrv-e376e2d6a81e1fb2e8afc1edb1fcfdcb10b027e7.zip
- Solved problem in generated error string when build-command failed.1.7.99.1
- Strip function now strips all white space (including \r and \n)
Diffstat (limited to 'tools/mhmake/src/build.cpp')
-rw-r--r--tools/mhmake/src/build.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mhmake/src/build.cpp b/tools/mhmake/src/build.cpp
index 3d31b4605..d869fd69b 100644
--- a/tools/mhmake/src/build.cpp
+++ b/tools/mhmake/src/build.cpp
@@ -1655,7 +1655,7 @@ mh_time_t mhmakefileparser::BuildTarget(const refptr<fileinfo> &Target,bool bChe
if (!pMakefile->ExecuteCommand(Command))
{
string ErrorMessage = string("Error running command: ")+ Command +"\n";
- ErrorMessage += "Command defined in makefile: " + GetMakeDir()->GetQuotedFullFileName();
+ ErrorMessage += "Command defined in makefile: " + pMakefile->GetMakeDir()->GetQuotedFullFileName();
Target->SetCommandsMd5_32(0); /* Clear the md5 to make sure that the target is rebuild the next time mhmake is ran */
m_AutoDepsDirty=true; /* We need to update the autodeps file if the md5 has been changed */
throw ErrorMessage;