summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-06-16 05:22:59 +0000
committerNorbert Preining <preining@logic.at>2008-06-16 05:22:59 +0000
commit0fc07861068854d87880efb89df8c81b7c2e82fd (patch)
tree66bb20d9c0a0a05380f97e5b0bf1353f146cdb1a
parent0b02590dc43da680ca16fd460172af8318762b23 (diff)
TLUtils: setup programs for Darwin ..
git-svn-id: svn://tug.org/texlive/trunk@8773 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm4
1 files changed, 3 insertions, 1 deletions
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";
}
}