Skip to content
Snippets Groups Projects
Commit cb8700c3 authored by Marco De Marco's avatar Marco De Marco
Browse files

Pre processor call fix added

parent 6c9ff033
No related branches found
No related tags found
No related merge requests found
......@@ -108,6 +108,8 @@ void ScriptManager::preProcessFile(boost::filesystem::path& filePath)
std::string result = exec(command.str());
if(result.find("PROCESS OK") == std::string::npos)
{
if(result.find("PROCESS FATAL") != std::string::npos)
{
std::stringstream errorStream;
......@@ -121,6 +123,7 @@ void ScriptManager::preProcessFile(boost::filesystem::path& filePath)
throw std::runtime_error(errorStream.str());
}
}
}
//==============================================================================
// ScriptManager::exec()
......
......@@ -75,6 +75,8 @@ void WorkerThread::workerLoop()
}
while(boost::chrono::steady_clock::now()-start <= waitTime);
m_fileManager_sp->preProcessFile(origPath);
copyToDestination(origPath);
if(verified)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment