diff options
author | Piotr Strzelczyk <piotr@eps.gda.pl> | 2009-08-22 14:11:46 +0000 |
---|---|---|
committer | Piotr Strzelczyk <piotr@eps.gda.pl> | 2009-08-22 14:11:46 +0000 |
commit | 92897b92887926a64e837672f5925247b8fc802a (patch) | |
tree | 970cdf82aee757339b041690f626e0735f1063eb | |
parent | 9b306a33b5b9e9d35cdb11836f8429703475b85d (diff) |
remove unneeded COMSPEC from backticks
git-svn-id: svn://tug.org/texlive/trunk@14815 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/tetex/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/tetex/updmap.pl | 2 | ||||
-rw-r--r-- | Master/texmf/scripts/tetex/updmap.pl | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/tetex/ChangeLog b/Build/source/texk/tetex/ChangeLog index 66760c432c3..ccccd87a4df 100644 --- a/Build/source/texk/tetex/ChangeLog +++ b/Build/source/texk/tetex/ChangeLog @@ -1,3 +1,7 @@ +2009-08-22 Tomek Trzeciak <t.m.trzeciak@gmail.com> + + * updmap.pl (mkmaps): remove unneeded COMSPEC from backticks + 2009-08-19 Karl Berry <karl@tug.org> * updmap.pl (mkmaps): quote invocation of COMSPEC. diff --git a/Build/source/texk/tetex/updmap.pl b/Build/source/texk/tetex/updmap.pl index 9f79894f03c..fd787415b21 100644 --- a/Build/source/texk/tetex/updmap.pl +++ b/Build/source/texk/tetex/updmap.pl @@ -1105,7 +1105,7 @@ updmap is creating new map files using the following configuration:\ if ($^O=~/^MSWin(32|64)$/) { $f =~ s@/@\\@g; $f = "\"$f\"" if ($f =~ m/\s/); # rk. Suppress header and footer from dir output. - @lines = `\"$ENV{'COMSPEC'}\" /c dir /b /s $f`; + @lines = `dir /b /s $f`; } else { @lines = `ls -l $f`; } diff --git a/Master/texmf/scripts/tetex/updmap.pl b/Master/texmf/scripts/tetex/updmap.pl index 9f79894f03c..fd787415b21 100644 --- a/Master/texmf/scripts/tetex/updmap.pl +++ b/Master/texmf/scripts/tetex/updmap.pl @@ -1105,7 +1105,7 @@ updmap is creating new map files using the following configuration:\ if ($^O=~/^MSWin(32|64)$/) { $f =~ s@/@\\@g; $f = "\"$f\"" if ($f =~ m/\s/); # rk. Suppress header and footer from dir output. - @lines = `\"$ENV{'COMSPEC'}\" /c dir /b /s $f`; + @lines = `dir /b /s $f`; } else { @lines = `ls -l $f`; } |