7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-07 18:35:32 +00:00

Allow empty path targets to just return the temp dir for jobset output

This commit is contained in:
Marek Roszko 2024-12-25 10:05:07 -05:00
parent af8ad6651a
commit f0408f0814

View File

@ -106,11 +106,10 @@ wxString JOB::GetFullOutputPath() const
else
{
wxFileName fn( m_outputPath );
if( fn.IsAbsolute() || m_outputPath.IsEmpty() )
if( fn.IsAbsolute() )
{
// uhhh, do nothing
// either its a full path passed by cli, so we return as-is
// or it's a empty path from either...in which case things will fail but who cares
// its a full path passed by cli, so we return as-is
// the job handlers should have fixed empty paths
}
else