* build system: prevent empty commands execution

This commit is contained in:
Garux 2018-03-30 00:34:50 +03:00
parent 8fbc462525
commit b9dca3b000

View File

@ -494,7 +494,8 @@ void build_run( const char* name, CommandListener& listener ){
{
StringBuffer output;
( *j ).evaluate( output );
listener.execute( output.c_str() );
if ( !output.empty() )
listener.execute( output.c_str() );
}
}
else