From be417896dd5066e3045b6bcd03f541307b14c1a2 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 30 Jul 2015 01:25:25 +0000 Subject: make sure we treat multiple occurrences of files properly git-svn-id: svn://tug.org/texlive/trunk@38001 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/texlive/mktexlsr.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Master/texmf-dist/scripts/texlive/mktexlsr.pl b/Master/texmf-dist/scripts/texlive/mktexlsr.pl index 9735cd2f445..8ce0616bf27 100755 --- a/Master/texmf-dist/scripts/texlive/mktexlsr.pl +++ b/Master/texmf-dist/scripts/texlive/mktexlsr.pl @@ -205,7 +205,7 @@ sub loadtree { # links are dereferenced according to $opt_follow # add an entry of 1 if it is not a directory, otherwise # create an empty hash as argument - File::Find::find( { follow_fast => $opt_follow, wanted => sub { + File::Find::find( { follow_skip => 2, follow_fast => $opt_follow, wanted => sub { $node = (pop @s)->[1] while (@s && $File::Find::dir ne $s[-1][0]); # ignore VCS return if ($_ eq ".git"); -- cgit v1.2.3