summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-10 21:20:38 +0000
committerKarl Berry <karl@freefriends.org>2020-03-10 21:20:38 +0000
commit14870f540d9edd1b21a301f7849aa2dc6e1f8a0c (patch)
tree62e498e1d556e49fe3fcecb8d2cc462e98587eaf /Master/texmf-dist/tex
parent5a559d6383cf49925c00a13b5e986847df89e6bb (diff)
import (10mar20)
git-svn-id: svn://tug.org/texlive/trunk@54225 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/import/import.sty5
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