aboutsummaryrefslogtreecommitdiff
path: root/src/performcommand.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-09-14 21:33:42 +0000
committerMike Buland <eichlan@xagasoft.com>2006-09-14 21:33:42 +0000
commit2a10d964f0bd5d64210adb0537ad04f9410f56db (patch)
tree89d7708ebaac73047db97a56aef3cfbbbb1cfdc5 /src/performcommand.cpp
parent1dc59875ed1e072a0c87b10e1bb43d7be2311ec8 (diff)
downloadbuild-2a10d964f0bd5d64210adb0537ad04f9410f56db.tar.gz
build-2a10d964f0bd5d64210adb0537ad04f9410f56db.tar.bz2
build-2a10d964f0bd5d64210adb0537ad04f9410f56db.tar.xz
build-2a10d964f0bd5d64210adb0537ad04f9410f56db.zip
Added the make-style view...useful sometimes.
Diffstat (limited to '')
-rw-r--r--src/performcommand.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/performcommand.cpp b/src/performcommand.cpp
index 5a9e746..e901b0e 100644
--- a/src/performcommand.cpp
+++ b/src/performcommand.cpp
@@ -1,6 +1,7 @@
1#include "performcommand.h" 1#include "performcommand.h"
2#include "plugger.h" 2#include "plugger.h"
3#include "build.h" 3#include "build.h"
4#include "viewer.h"
4 5
5PluginInterface2(command, PerformCommand, Perform, "Mike Buland", 0, 1 ); 6PluginInterface2(command, PerformCommand, Perform, "Mike Buland", 0, 1 );
6 7
@@ -21,6 +22,7 @@ Perform *PerformCommand::duplicate( Build &bld, const std::string &cont, VarMap
21 22
22void PerformCommand::execute( Build &bld ) 23void PerformCommand::execute( Build &bld )
23{ 24{
25 bld.getView()->executeCmd( lParam.front() );
24 int n = system( lParam.front().c_str() ); 26 int n = system( lParam.front().c_str() );
25 if( n != 0 ) 27 if( n != 0 )
26 throw BuildException( 28 throw BuildException(