[tex-live] Missing quoting in tlmgr when making formats
Norbert Preining
preining at logic.at
Wed May 8 16:39:41 CEST 2013
Hi Mojca,
On Mi, 08 Mai 2013, Mojca Miklavec wrote:
> doing it intentionally, to be able to spot such problems).
No problem, thanks for reporting.
> $errors += do_cmd_and_check("fmtutil$sysmode --byhyphen $lang");
> because $lang may itself contain spaces and fmtutil treats it as if
> there were several parameters present.
Indeed.
With a simple quoting in the above line
$errors += do_cmd_and_check("fmtutil$sysmode --byhyphen \"$lang\"");
that first problem should go away.
I tried it, but then fmtutil(-sys) complained:
fmtutil-sys --byhyphen "/home/norbert/tl/i 2013/texmf-var/tex/generic/config/language.dat" failed (status 1), output:
grep: 2013/texmf-var/tex/generic/config/language.dat: No such file or directory
grep: 2013/texmf-var/tex/generic/config/language.dat: No such file or directory
grep: 2013/texmf-var/tex/generic/config/language.dat: No such file or directory
Changing the line 934 of fmtutil.sh to
match_cmd="echo \"\$this_hyphenfile\" | grep \"$hyphenfile\" >/dev/null"
(i.e., adding quotatin there, too) I get it more or less working
(besides the fact that some formats do not build!)
Mojca, attached is the full patch, can you please try if that helps in
your case, too? Apply with patch -p2 in your 2013 directory.
Thanks
Norbert
------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quoting.diff
Type: text/x-diff
Size: 1095 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-live/attachments/20130508/d400caa8/attachment.bin>
More information about the tex-live
mailing list