summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/kpathsea/ChangeLog5
-rwxr-xr-xBuild/source/texk/kpathsea/mktexlsr1
2 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index d2be90f4ed6..4e843fee649 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-28 Karl Berry <karl@tug.org>
+
+ * mktexlsr: need to shift when arg is not a directory.
+ Found by Luigi Scarso, tex-k mail 28 Jun 2011 00:21:14.
+
2011-06-19 Karl Berry <karl@tug.org>
* texmf.cnf (OPENTYPEFONTS): a duplicate entry was created :(.
diff --git a/Build/source/texk/kpathsea/mktexlsr b/Build/source/texk/kpathsea/mktexlsr
index 0071a31a211..d3501ce8fe5 100755
--- a/Build/source/texk/kpathsea/mktexlsr
+++ b/Build/source/texk/kpathsea/mktexlsr
@@ -95,6 +95,7 @@ while test $# -gt 0; do
else
if test ! -d "$1"; then
echo "$progname: $1: not a directory, skipping." >&2
+ shift
continue
fi
# By saving the argument in a file, we can later get it back while