Fix build due to previous cli change

This commit is contained in:
Mark Roszko 2023-11-07 11:20:18 +00:00
parent a80a641427
commit 153e1190ea
1 changed files with 1 additions and 1 deletions

View File

@ -465,7 +465,7 @@ int PCBNEW_JOBS_HANDLER::JobExportDrill( JOB* aJob )
wxFileName fn( aDrillJob->m_outputDir + wxT( "/" ) ); wxFileName fn( aDrillJob->m_outputDir + wxT( "/" ) );
if( !fn.Mkdir( wxS_DIR_DEFAULT, wxPATH_MKDIR_FULL ) ) if( !fn.Mkdir( wxS_DIR_DEFAULT, wxPATH_MKDIR_FULL ) )
{ {
m_reporter->Report( _( "Failed to create output directory\n" ), RPT_SEVERITY_ERROR ); wxFprintf( stderr, _( "Failed to create output directory\n" ) );
return CLI::EXIT_CODES::ERR_INVALID_OUTPUT_CONFLICT; return CLI::EXIT_CODES::ERR_INVALID_OUTPUT_CONFLICT;
} }