Bug#794228: patch
The following patch fixes the logic error in the script, but still
continues to print a bunch of ugly mkdir errors to the console. Maybe
someone has a better solution (or just use mkdir -p?)
--- a/mktexdir
+++ b/mktexdir
@@ -50,7 +50,7 @@ do
pathcomp="$pathcomp$d"
if test ! -d "./$pathcomp"; then
- mkdir "./$pathcomp" || { errstatus=$?; break; }
+ mkdir "./$pathcomp" || { errstatus=$?; if test ! -d "./$pathcomp"; then break; else errstatus=0; fi; }
chmod `kpsestat ${MT_APPEND_MASK} "$pathcomp"/..` "./$pathcomp"
fi
--
mike
Reply to: