diff options
author | Karl Berry <karl@freefriends.org> | 2009-08-19 21:20:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-08-19 21:20:54 +0000 |
commit | 142010671b67b1ca76ccd52ef7d554f60011afc3 (patch) | |
tree | 866a4e8b4ae8efa72a67613a8e5039aa748e49a9 /Master | |
parent | e97ff2a65f4aefb23942c4b46c5c4210119b2992 (diff) |
quote invocation of $ENV{COMSPEC}, from Dan Luecking, 19 Aug 2009 15:13:31
git-svn-id: svn://tug.org/texlive/trunk@14764 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf/scripts/tetex/updmap.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf/scripts/tetex/updmap.pl b/Master/texmf/scripts/tetex/updmap.pl index 161d006b572..9f79894f03c 100644 --- a/Master/texmf/scripts/tetex/updmap.pl +++ b/Master/texmf/scripts/tetex/updmap.pl @@ -1104,7 +1104,8 @@ updmap is creating new map files using the following configuration:\ "$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. + # rk. Suppress header and footer from dir output. + @lines = `\"$ENV{'COMSPEC'}\" /c dir /b /s $f`; } else { @lines = `ls -l $f`; } |