File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -6650,11 +6650,18 @@ if ($output_directory && !-d $output_directory) {
6650
6650
6651
6651
if ($save && $output_directory )
6652
6652
{ # save copy of .info and diff files: useful for debugging user cases later
6653
- foreach my $from (@base_filenames , $diff_filename , @info_filenames ) {
6654
- next unless defined ($from );
6655
- my $to = File::Spec-> catfile($output_directory ,
6656
- File::Basename::basename($from ));
6657
- File::Copy::copy($from , $to ) unless -f $to ;
6653
+ foreach my $d ([' baseline_' , @base_filenames ],
6654
+ [' ' , $diff_filename ],
6655
+ [' current_' , @info_filenames ]
6656
+ ) {
6657
+ my $prefix = shift @$d ;
6658
+ $prefix = ' ' unless @base_filenames ;
6659
+ foreach my $from (@$d ) {
6660
+ next unless defined ($from );
6661
+ my $to = File::Spec-> catfile($output_directory ,
6662
+ $prefix . File::Basename::basename($from ));
6663
+ File::Copy::copy($from , $to ) unless -f $to ;
6664
+ }
6658
6665
}
6659
6666
}
6660
6667
You can’t perform that action at this time.
0 commit comments