summaryrefslogtreecommitdiff
path: root/util/doc-install.pl
diff options
context:
space:
mode:
Diffstat (limited to 'util/doc-install.pl')
-rw-r--r--util/doc-install.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/doc-install.pl b/util/doc-install.pl
index 19515ad..aeab988 100644
--- a/util/doc-install.pl
+++ b/util/doc-install.pl
@@ -207,7 +207,6 @@ my %basename_hash = ();
foreach my $in_name (@ARGV)
{
my $basename = path_basename($in_name);
- my $out_name = File::Spec->catfile($target_dir, $basename);
# If there are multiple files with the same base name in the list, only
# the first one will be installed. This behavior makes it very easy to
@@ -215,6 +214,7 @@ foreach my $in_name (@ARGV)
unless (exists $basename_hash{$basename})
{
$basename_hash{$basename} = undef;
+ my $out_name = File::Spec->catfile($target_dir, $basename);
install_file($in_name, $out_name, $basename);
}
}