X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bibtex_to_paper;fp=bibtex_to_paper;h=121a85544354bf60f8f2c2336371f1d8f1802713;hb=7f5ebb78dfe45ece2ce9f461aebbdf067381c426;hp=181f9cf1fbd7b04665c4431e12c07f763a09aaed;hpb=fc562f2ec00ad46cf51c33d1510454f384043947;p=bin.git diff --git a/bibtex_to_paper b/bibtex_to_paper index 181f9cf..121a855 100755 --- a/bibtex_to_paper +++ b/bibtex_to_paper @@ -173,6 +173,10 @@ sub load_papers_into_database { my @dirs = ref($dir)?@{$dir}:$dir; my $actually_load_it = sub { + if (/\.git/) { + $File::Find::prune = 1; + return; + } return unless /\.pdf$/; my $xoj = 0; if (-e "${_}.xoj") {