On Mon, Jun 27, 2011 at 10:38 PM, Hans Hagen
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