diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/import/import.sty | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/import/import.sty b/Master/texmf-dist/tex/latex/import/import.sty index 338fcc2b1cb..e22e32a7904 100644 --- a/Master/texmf-dist/tex/latex/import/import.sty +++ b/Master/texmf-dist/tex/latex/import/import.sty @@ -123,8 +123,9 @@ % Check for "./" currdir, and make \import@path@fix ensure trailing / \gdef\@gtempa{./} \ifx\@gtempa\@currdir % *x style paths - \gdef\import@path@fix#1{\@ensure@one@trailing@slash#1////\delimiter}% - \gdef\@ensure@one@trailing@slash#1////#2\delimiter{#1/}% +\gdef\import@path@fix#1{\ifx\delimiter#1\delimiter\else + \@ensure@one@trailing@slash#1///\delimiter\fi}% + \gdef\@ensure@one@trailing@slash#1///#2\delimiter{#1/}% \fi % Check for "[]" currdir (VMS file names) and set \import@path@fix appropriately |