Fix build due to previous cli change
This commit is contained in:
parent
a80a641427
commit
153e1190ea
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue