aboutsummaryrefslogtreecommitdiff
path: root/src/performcmd.cpp
blob: 21ba7376daf68d2ea5a2bedc75d9b1e5fe00fa67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "performcmd.h"
#include "builder.h"

PerformCmd::PerformCmd( const char *sCmd, const char *sTarget ) :
	sCommand( sCmd ),
	sTarget( sTarget )
{
}

PerformCmd::~PerformCmd()
{
}

void PerformCmd::execute( class Builder &bld )
{
	printf("%s\n", sCommand.getString() );
	system( sCommand.getString() );
}