From b87c8d2eb4f0c7fb25cee10e8fdb2c8331343f8c Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 21 Dec 2009 23:52:22 +0000 Subject: Wow, that was aweful. There was a horrible problem with rule generated targets not getting the variables from the parent target. --- src/functiongetmakedeps.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/functiongetmakedeps.cpp') diff --git a/src/functiongetmakedeps.cpp b/src/functiongetmakedeps.cpp index 1aded15..008a509 100644 --- a/src/functiongetmakedeps.cpp +++ b/src/functiongetmakedeps.cpp @@ -1,4 +1,6 @@ #include "functiongetmakedeps.h" +#include "context.h" +#include "view.h" #include #include @@ -19,6 +21,7 @@ Bu::FString FunctionGetMakeDeps::getName() const Variable FunctionGetMakeDeps::call( Variable &/*input*/, VarList lParams ) { + pContext->getView()->cmdStarted( lParams.first().getString().getStr() ); Process p( Process::StdOut, "/bin/bash", "/bin/bash", "-c", lParams.first().getString().getStr(), NULL ); @@ -31,6 +34,8 @@ Variable FunctionGetMakeDeps::call( Variable &/*input*/, VarList lParams ) sBuf.append( buf, iRead ); } + pContext->getView()->cmdFinished( "", "", p.childExitStatus() ); + Variable vRet( Variable::typeList ); Bu::FString::iterator i, j; -- cgit v1.2.3