From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Umathquad again - lots of mktexlsr errors
Date: Mon, 27 Jun 2011 23:05:26 +0200 [thread overview]
Message-ID: <BANLkTikxFMsGmTGADWZRHvsvidhB3WtTRQ@mail.gmail.com> (raw)
In-Reply-To: <4E08EA35.208@wxs.nl>
On Mon, Jun 27, 2011 at 10:38 PM, Hans Hagen <pragma@wxs.nl> wrote:
> On 27-6-2011 8:42, Hans van der Meer wrote:
>>
>> Ok, thanks. I understand the mktexlsr stuff is nothing serious.
>
> it looks like mktexlsr has a bug
>
> - when run with "" on windows it tries to hash /
> - when run on linux with "" it loops
>
> any unknown path does this
>
> so, i think that maybe when there is an empty path given or in the texmf
> spec, that this problem surfaces
>
> Hans
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
>
imo, a shift is missed
From line 73 of mktexlsr, look at
# ADD THIS
below
# A copy of some stuff from mktex.opt, so we can run in the presence of
# terminally damaged ls-R files.
while test $# -gt 0; do
if test "x$1" = x--help || test "x$1" = x-help; then
echo "$usage"
exit 0
elif test "x$1" = x--version || test "x$1" = x-version; then
echo "`basename $0` $version"
kpsewhich --version
exit 0
elif test "x$1" = x--verbose || test "x$1" = x-verbose; then
verbose=true
elif test "x$1" = x--dry-run || test "x$1" = x-n; then
dry_run=true
elif test "x$1" = x--quiet || test "x$1" = x--silent \
|| test "x$1" = x-quiet || test "x$1" = x-silent ; then
verbose=false
elif test "x$1" = x--; then
:
elif echo "x$1" | grep '^x-' >/dev/null; then
echo "$progname: unknown option \`$1', try --help if you need it." >&2
exit 1
else
if test ! -d "$1"; then
echo "$progname: $1: not a directory, skipping." >&2
shift ## ADD THIS, otherwise a loop
continue
fi
# By saving the argument in a file, we can later get it back while
# supporting spaces in the name. This still doesn't support
# newlines in the directory names, but nobody ever complains about
# that, and it seems much too much trouble to use \0 terminators.
(umask 077
if echo "$1" >>"$treefile"; then :; else
echo "$progname: $treefile: could not append to arg file, goodbye." >&2
exit 1
fi
)
fi
shift
done
--
luigi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2011-06-27 21:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-27 18:24 Hans van der Meer
2011-06-27 18:31 ` luigi scarso
2011-06-27 18:42 ` Hans van der Meer
2011-06-27 19:25 ` luigi scarso
2011-06-27 21:18 ` Umathquad again Hans van der Meer
2011-06-27 21:36 ` luigi scarso
2011-06-27 20:20 ` Umathquad again - lots of mktexlsr errors Hans Hagen
2011-06-27 20:38 ` Hans Hagen
2011-06-27 21:05 ` luigi scarso [this message]
2011-06-27 21:26 ` Hans Hagen
2011-06-27 21:59 ` luigi scarso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTikxFMsGmTGADWZRHvsvidhB3WtTRQ@mail.gmail.com \
--to=luigi.scarso@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).