From 5d96e7c1c2d8b043e6c92ad99581c65d488ead94 Mon Sep 17 00:00:00 2001 From: Manuel Pégourié-Gonnard Date: Wed, 13 Aug 2008 04:46:18 +0000 Subject: fixing bug with dots in directory names git-svn-id: svn://tug.org/texlive/trunk@10304 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf/scripts/texlive/texdoc.tlu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Master/texmf/scripts/texlive/texdoc.tlu b/Master/texmf/scripts/texlive/texdoc.tlu index 74997538713..b4694edbe7c 100755 --- a/Master/texmf/scripts/texlive/texdoc.tlu +++ b/Master/texmf/scripts/texlive/texdoc.tlu @@ -825,7 +825,7 @@ for docname in list (arg) do end -- exceptions for arguments with extension given if config.mode ~= 'regex' then - docname_base, docname_ext = string.match (docname, '^(.*)%.(.*)$') + docname_base, docname_ext = string.match (docname, '^(.*)%.([^/]*)$') if docname_ext == 'sty' then err_print ("using special search mode for sty files", 'info') populate_docfiles = populate_docfiles_sty -- cgit v1.2.3