Debian Codegraph @

src/test/recovery/t/cp_history_files

raw
1 #!/usr/bin/perl
2
3 use File::Copy;
4 use strict;
5 use warnings FATAL => 'all';
6
7 die "wrong number of arguments" if @ARGV != 2;
8 my ($source, $target) = @ARGV;
9 exit if $source !~ /history/;
10 copy($source, $target) or die "couldn't copy $source to $target: $!";