summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/mktexlsr
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/kpathsea/mktexlsr
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/kpathsea/mktexlsr')
-rwxr-xr-xBuild/source/texk/kpathsea/mktexlsr1
1 files changed, 1 insertions, 0 deletions
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