diff options
Diffstat (limited to 'Master')
-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. |