diff options
author | Norbert Preining <preining@logic.at> | 2008-04-24 10:08:27 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-04-24 10:08:27 +0000 |
commit | fbae6fe8707300d72bd217d72a68bc511efde816 (patch) | |
tree | 5ed2fff6b5f03b3757fcd6fe189d2fb7827c263e /Master/texmf | |
parent | 2a7103f5b06e29500a528c59bcaa80749562d312 (diff) |
fix --byhyophen on win32, but that should be fixed in fmtutil
git-svn-id: svn://tug.org/texlive/trunk@7630 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf')
-rwxr-xr-x | Master/texmf/scripts/texlive/tl-package-manager.pl | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Master/texmf/scripts/texlive/tl-package-manager.pl b/Master/texmf/scripts/texlive/tl-package-manager.pl index 6af2137136c..a57d1769041 100755 --- a/Master/texmf/scripts/texlive/tl-package-manager.pl +++ b/Master/texmf/scripts/texlive/tl-package-manager.pl @@ -425,8 +425,15 @@ if ($ret & 0x1000) { "$TEXMFSYSVAR/tex/generic/config/language.dat", "$TEXMFLOCAL/tex/generic/config/language-local.dat"); # system("texconfig-sys", "generate", "language"); - print "running fmtutil-sys --byhyphen $TEXMFSYSVAR/tex/generic/config/language.dat\n"; - system("fmtutil-sys", "--byhyphen", "$TEXMFSYSVAR/tex/generic/config/language.dat"); + # + # win32 fmtutil needs language.dat WITHOUT full specification + if (win32()) { + print "running fmtutil-sys --byhyphen language.dat\n"; + system("fmtutil-sys", "--byhyphen", "language.dat"); + } else { + print "running fmtutil-sys --byhyphen $TEXMFSYSVAR/tex/generic/config/language.dat\n"; + system("fmtutil-sys", "--byhyphen", "$TEXMFSYSVAR/tex/generic/config/language.dat"); + } } exit(0); |