diff options
author | Karl Berry <karl@freefriends.org> | 2011-03-14 21:27:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-03-14 21:27:26 +0000 |
commit | 8fa84570eed4765db9e3d82389fb6e16896892ac (patch) | |
tree | 0d928eda4b18f4f202be1c4fa5595050cf7bbc20 /Master/tlpkg/TeXLive/TLUtils.pm | |
parent | 7e780952f9c23fa6c7f7116ab37a128e4bfd5641 (diff) |
(platform): not MSWin$.
git-svn-id: svn://tug.org/texlive/trunk@21714 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive/TLUtils.pm')
-rw-r--r-- | Master/tlpkg/TeXLive/TLUtils.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm index b2f94b17c1a..6ddab3c3df8 100644 --- a/Master/tlpkg/TeXLive/TLUtils.pm +++ b/Master/tlpkg/TeXLive/TLUtils.pm @@ -221,10 +221,9 @@ subsequent calls just return that value. =cut -sub platform -{ +sub platform { unless (defined $::_platform_) { - if ($^O =~ /^MSWin$/i) { + if ($^O =~ /^MSWin/i) { $::_platform_ = "win32"; } else { # the copy of this file in biber uses a different config.guess dir. |