7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 00:21:25 +00:00

Jobsets: expand environment variables in Copy Files job source.

This commit is contained in:
Alex Shvartzkop 2025-02-18 22:07:19 +03:00
parent f6c507bff9
commit 3f62ff25d2

View File

@ -108,7 +108,7 @@ int JOBS_RUNNER::runSpecialCopyFiles( const JOBSET_JOB* aJob, PROJECT* aProject
{
JOB_SPECIAL_COPYFILES* job = static_cast<JOB_SPECIAL_COPYFILES*>( aJob->m_job.get() );
wxString source = ExpandTextVars( job->m_source, aProject );
wxString source = ExpandEnvVarSubstitutions( job->m_source, aProject );
if( source.IsEmpty() )
return CLI::EXIT_CODES::ERR_ARGS;