summaryrefslogtreecommitdiff
path: root/Build/source/texk/tests/TeXLive
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-14 18:51:30 +0000
committerKarl Berry <karl@freefriends.org>2021-02-14 18:51:30 +0000
commit9a776cf346f43f98516eae74054f843870d07dd9 (patch)
tree33122956f2c50fd8f3c5971803a4e8807c340a95 /Build/source/texk/tests/TeXLive
parent878ca3faa641b83150ddcdf9c5bdea188247036e (diff)
doc,sync
git-svn-id: svn://tug.org/texlive/trunk@57738 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/tests/TeXLive')
-rw-r--r--Build/source/texk/tests/TeXLive/TLUtils.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/Build/source/texk/tests/TeXLive/TLUtils.pm b/Build/source/texk/tests/TeXLive/TLUtils.pm
index 64a49e2d216..aa5a00b3a7d 100644
--- a/Build/source/texk/tests/TeXLive/TLUtils.pm
+++ b/Build/source/texk/tests/TeXLive/TLUtils.pm
@@ -5,7 +5,7 @@
package TeXLive::TLUtils;
-my $svnrev = '$Revision: 56565 $';
+my $svnrev = '$Revision: 57421 $';
my $_modulerevision = ($svnrev =~ m/: ([0-9]+) /) ? $1 : "unknown";
sub module_revision { return $_modulerevision; }
@@ -224,7 +224,6 @@ BEGIN {
use Cwd;
use Getopt::Long;
use File::Temp;
-use File::Copy qw//;
use TeXLive::TLConfig;
@@ -3201,7 +3200,7 @@ sub _create_config_files {
}
if ($usermode && -e $dest) {
tlwarn("Updating $dest, backup copy in $dest.backup\n");
- File::Copy::copy($dest, "$dest.backup");
+ copy("-f", $dest, "$dest.backup");
}
open(OUTFILE,">$dest")
or die("Cannot open $dest for writing: $!");