summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-08-19 21:20:54 +0000
committerKarl Berry <karl@freefriends.org>2009-08-19 21:20:54 +0000
commit142010671b67b1ca76ccd52ef7d554f60011afc3 (patch)
tree866a4e8b4ae8efa72a67613a8e5039aa748e49a9 /Build
parente97ff2a65f4aefb23942c4b46c5c4210119b2992 (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 'Build')
-rw-r--r--Build/source/texk/tetex/ChangeLog5
-rw-r--r--Build/source/texk/tetex/updmap.pl3
2 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/texk/tetex/ChangeLog b/Build/source/texk/tetex/ChangeLog
index f90b09a0eab..66760c432c3 100644
--- a/Build/source/texk/tetex/ChangeLog
+++ b/Build/source/texk/tetex/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-19 Karl Berry <karl@tug.org>
+
+ * updmap.pl (mkmaps): quote invocation of COMSPEC.
+ From Dan Luecking, 19 Aug 2009 15:13:31.
+
2009-08-15 Karl Berry <karl@tug.org>
* fmtutil (--byengine): new option, from Norbert.
diff --git a/Build/source/texk/tetex/updmap.pl b/Build/source/texk/tetex/updmap.pl
index 161d006b572..9f79894f03c 100644
--- a/Build/source/texk/tetex/updmap.pl
+++ b/Build/source/texk/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`;
}