From 0fc07861068854d87880efb89df8c81b7c2e82fd Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 16 Jun 2008 05:22:59 +0000 Subject: TLUtils: setup programs for Darwin .. git-svn-id: svn://tug.org/texlive/trunk@8773 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLUtils.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Master/tlpkg') diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm index 7be54a1038f..ce8ffe8412c 100644 --- a/Master/tlpkg/TeXLive/TLUtils.pm +++ b/Master/tlpkg/TeXLive/TLUtils.pm @@ -776,11 +776,13 @@ sub setup_programs { $::progs{'lzmadec'} = "$bindir/lzma/lzmadec.$platform"; $::progs{'lzma'} = "$bindir/lzma/lzma.$platform"; $::progs{'tar'} = "tar"; - if (win32()) { + if ($^O=~/^MSWin(32|64)$/i) { $::progs{'wget'} = conv_to_win_path("$bindir/wget.exe"); $::progs{'tar'} = conv_to_win_path("$bindir/tar.exe"); $::progs{'lzmadec'} = conv_to_win_path("$bindir/lzma/lzmadec.win32.exe"); $::progs{'lzma'} = conv_to_win_path("$bindir/lzma/lzma.exe"); + } elsif ( $^O =~ /^darwin$/i ) { + $::progs{'wget'} = "$bindir/wget"; } } -- cgit v1.2.3