Index: lit/ChangeLog
===================================================================
--- lit/ChangeLog	(revision 718)
+++ lit/ChangeLog	(working copy)
@@ -1,3 +1,9 @@
+2020-06-03  Vincent Belaïche  <vincent.belaiche@gmail.com>
+
+	* xtpipes.tex (\AddFileC): Remove appending slash to directory
+	argument, as it ends prematurely the \MakeDir loop by having some
+	unwanted « // » pattern in the path.
+
 2020-06-03 Michal Hoftich  <michal.h21@gmail.com>
 
 	* tex4ht-html4.tex (html4-math.4ht): handle nested math in amsmath version
Index: lit/xtpipes.tex
===================================================================
--- lit/xtpipes.tex	(revision 718)
+++ lit/xtpipes.tex	(working copy)
@@ -69,7 +69,7 @@
    \expandafter\setStartDir \dir #2!%
    \bgroup
      \def\Slash{/}%
-     \xdef\EndDir{\ifx \dir\empty \else \dir\Slash\fi
+     \xdef\EndDir{\dir
                 #2\Slash
              \ifx\ext\empty
                   \if !#1!\else #1\fi
@@ -77,7 +77,7 @@
    \egroup
    \MakeDir
    \if !#1!\else
-      \Needs{"\mv #1\space \dir \Slash#2\Slash
+      \Needs{"\mv #1\space \dir #2\Slash
                     \ifx\ext\empty #1\else \ext\fi"}%
    \fi
 }
