Update the search_compare.pl script so it outputs the names of the files being updated
This commit was SVN r30464.
Этот коммит содержится в:
родитель
42eb0bbe1b
Коммит
bf73c517ba
@ -179,6 +179,7 @@ foreach $src (@src_tree) {
|
|||||||
my $diff = diff $tgt, $src, { STYLE => "Unified" };
|
my $diff = diff $tgt, $src, { STYLE => "Unified" };
|
||||||
print MYFILE $diff . "\n";
|
print MYFILE $diff . "\n";
|
||||||
} elsif ($update_arg) {
|
} elsif ($update_arg) {
|
||||||
|
print "Updating $src to $tgt\n";
|
||||||
copy("$src", "$tgt") or die "Copy failed: src=$src tgt=$tgt\n";
|
copy("$src", "$tgt") or die "Copy failed: src=$src tgt=$tgt\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user