[tex-live] Minor problem with updmap in WinXP under TCC

Dan Luecking luecking at uark.edu
Wed Aug 19 22:13:31 CEST 2009


I ran "updmap-sys --disable comicvn.map". This succeeded but, at
the very end, where there is usually a list of updated map files,
I get 9 repetitions of the following error message:
   'C:\Program' is not recognized as an internal or external command,
   operable program or batch file.

This happens under in a TCC command shell) but _not_ in a cmd.exe
shell _nor_ in my 4NT.exe shell. Of the three shells, only TCC is
installed in C:\Program Files", so %COMSPEC% contains a space. (I should
_not_ have let TCC pick the directory in which to install itself!)

The following patch (added quotes) fixed things for me (but I have little
knowledge of the Perl language).

--- updmap-orig.pl      Wed Aug 19 15:02:21 2009
+++ updmap.pl   Wed Aug 19 15:02:49 2009
@@ -1105,7 +1105,7 @@
                   "$dvipsoutputdir/ps2pk.map") {
        if ($^O=~/^MSWin(32|64)$/) {
           $f =~ s@/@\\@g; $f = "\"$f\"" if ($f =~ m/\s/);
-         @lines = `$ENV{'COMSPEC'} /c dir /b /s $f`; # rk. Suppress 
header and footer from dir output.
+         @lines = `\"$ENV{'COMSPEC'}\" /c dir /b /s $f`; # rk. 
Suppress header and footer from dir output.
        } else {
           @lines = `ls -l $f`;
        }


Regards,
Dan

Daniel H. Luecking
Department of Mathematical Sciences
University of Arkansas
"Dubito ergo cogito, cogito ergo sum" --Descartes



More information about the tex-live mailing list