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:
parent
f6c507bff9
commit
3f62ff25d2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user