summaryrefslogtreecommitdiffstats
path: root/src/test/recovery/t/cp_history_files
blob: cfeea41e5b918ed51fe62878558c2f5401de4e32 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/perl

use File::Copy;
use strict;
use warnings;

die "wrong number of arguments" if @ARGV != 2;
my ($source, $target) = @ARGV;
exit if $source !~ /history/;
copy($source, $target) or die "couldn't copy $source to $target: $!";