File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -357,11 +357,11 @@ protected function installLicense(): void
357357 }
358358 foreach ($ license_files as $ index => $ license ) {
359359 if ($ license ['type ' ] === 'text ' ) {
360- FileSystem::writeFile (BUILD_ROOT_PATH . ' /source-licenses/ ' . $ this -> getName () . " / {$ index }.txt " , $ license ['text ' ]);
360+ FileSystem::writeFile (BUILD_ROOT_PATH . " /source-licenses/ { $ source } / {$ index }.txt " , $ license ['text ' ]);
361361 continue ;
362362 }
363363 if ($ license ['type ' ] === 'file ' ) {
364- copy ($ this ->source_dir . '/ ' . $ license ['path ' ], BUILD_ROOT_PATH . ' /source-licenses/ ' . $ this -> getName () . " / {$ index }.txt " );
364+ copy ($ this ->source_dir . '/ ' . $ license ['path ' ], BUILD_ROOT_PATH . " /source-licenses/ { $ source } / {$ index }.txt " );
365365 }
366366 }
367367 }
You can’t perform that action at this time.
0 commit comments