summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-06-27 22:27:02 +0000
committerKarl Berry <karl@freefriends.org>2011-06-27 22:27:02 +0000
commit3dd4d0fa5d4e8570cacd18ac9663e78b7a33253c (patch)
treee45f336d3a8406bc17d7590a39d7d756fe9a3faa /Build/source/texk
parent3eef186a2536e0decb048813ac7ced36f6428722 (diff)
shift when arg is not a dir
git-svn-id: svn://tug.org/texlive/trunk@23151 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-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