From 3517b9cc11516dd3f495601bc5b61ed3c17616af Mon Sep 17 00:00:00 2001 From: Master Date: Sat, 20 Jun 2020 23:14:04 -0400 Subject: [PATCH] repair target string --- src/loaders/abstract/Task.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loaders/abstract/Task.cpp b/src/loaders/abstract/Task.cpp index 487775f..0d978df 100644 --- a/src/loaders/abstract/Task.cpp +++ b/src/loaders/abstract/Task.cpp @@ -200,7 +200,7 @@ void Task::execute( Conf * configuration ) this->slog.log( E_INFO, "Executing target: \"" + target_command + "\"." ); this->slog.log( E_DEBUG, "Vars file: " + configuration->get_env_vars_file() ); - int return_code = Sproc::execute( "source " + configuration->get_env_vars_file() + " && " + target_command ); + int return_code = Sproc::execute( ". " + configuration->get_env_vars_file() + " && " + target_command ); // ********************************************** // d[0] Error Code Check