Fix ODB++ path creation.

(cherry picked from commit 72e1904708)

Co-authored-by: Alex Shvartzkop <[email protected]>
This commit is contained in:
dsa-t
2025-08-22 15:07:52 +03:00
parent 7fbca40dd8
commit 424807da03
+1 -1
View File
@@ -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() );