Fix ODB++ path creation.
(cherry picked from commit 72e1904708)
Co-authored-by: Alex Shvartzkop <[email protected]>
This commit is contained in:
@@ -271,7 +271,7 @@ void DIALOG_EXPORT_ODBPP::GenerateODBPPFiles( const JOB_EXPORT_PCB_ODB& aJob, BO
|
||||
bool outputIsSingleFile = aJob.m_compressionMode != JOB_EXPORT_PCB_ODB::ODB_COMPRESSION::NONE;
|
||||
wxString msg;
|
||||
|
||||
if( !PATHS::EnsurePathExists( outputFn.GetPath(), outputIsSingleFile ) )
|
||||
if( !PATHS::EnsurePathExists( outputFn.GetFullPath(), outputIsSingleFile ) )
|
||||
{
|
||||
msg.Printf( _( "Cannot create output directory '%s'." ), outputFn.GetFullPath() );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user