cheap workaround for vars file path
parent
8def175313
commit
5c5009972f
|
@ -213,11 +213,12 @@ void Task::execute( Conf * configuration )
|
||||||
this->slog.log( E_FATAL, "[ '" + task_name + "' ] Target executable does not exist." );
|
this->slog.log( E_FATAL, "[ '" + task_name + "' ] Target executable does not exist." );
|
||||||
throw Task_NotReady();
|
throw Task_NotReady();
|
||||||
}
|
}
|
||||||
this->slog.log( E_INFO, "[ '" + task_name + "' ] Vars file: " + this->definition.get_env_vars_file() );
|
std::string static_env_file = configuration->get_execution_context() + "/" + this->definition.get_env_vars_file();
|
||||||
|
|
||||||
|
this->slog.log( E_INFO, "[ '" + task_name + "' ] Vars file: " + static_env_file );
|
||||||
this->slog.log( E_INFO, "[ '" + task_name + "' ] Shell: " + this->definition.get_shell() );
|
this->slog.log( E_INFO, "[ '" + task_name + "' ] Shell: " + this->definition.get_shell() );
|
||||||
|
|
||||||
|
|
||||||
std::string static_env_file = configuration->get_execution_context() + "/" + this->definition.get_env_vars_file();
|
|
||||||
int return_code = Sproc::execute(
|
int return_code = Sproc::execute(
|
||||||
this->definition.get_shell(),
|
this->definition.get_shell(),
|
||||||
static_env_file,
|
static_env_file,
|
||||||
|
|
Loading…
Reference in New Issue