diff options
author | Norbert Preining <preining@logic.at> | 2008-01-07 12:57:03 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-01-07 12:57:03 +0000 |
commit | 04abbcaba8e391f01a012539975eba525e713f3d (patch) | |
tree | d805b9e28341b38fef1ae5417e92e02821482553 /Master | |
parent | fbd5ded00b63382d31966e9173e02e6b8e3da973 (diff) |
another win fix
git-svn-id: svn://tug.org/texlive/trunk@6113 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/install-tl.pl | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/Master/install-tl.pl b/Master/install-tl.pl index 87308335f26..b94225745ca 100755 --- a/Master/install-tl.pl +++ b/Master/install-tl.pl @@ -599,11 +599,17 @@ sub do_postinst_stuff { # # Step 4: run the programs # how hackish: on windows it is hard to find the perl scripts ... - my $perlint = (win32() ? "$vars{'TEXDIR'}/tlpkg/tlperl/bin/perl.exe $vars{'TEXDIR'}/tlpkg/bin/" : ""); + my $perlint = (win32() ? "$vars{'TEXDIR'}/tlpkg/tlperl/bin/perl.exe" : ""); # for arch != win32 $perlint is empty so the usual perl invocation is done - `${perlint}generate-fmtutil`; - `${perlint}generate-updmap`; - `${perlint}generate-language`; + if (win32()) { + `${perlint} $vars{'TEXDIR'}/tlpkg/bin/generate-fmtutil`; + `${perlint} $vars{'TEXDIR'}/tlpkg/bin/generate-updmap`; + `${perlint} $vars{'TEXDIR'}/tlpkg/bin/generate-language`; + } else { + `generate-fmtutil`; + `generate-updmap`; + `generate-language`; + } `mktexlsr $vars{'TEXDIR'}/texmf-dist $vars{'TEXDIR'}/texmf $vars{'TEXDIR'}/texmf-local`; my $updmap = (win32() ? "$perlint $vars{'TEXDIR'}/bin/win32/updmap-sys.pl" : "updmap-sys"); `$updmap --nohash`; |