From: Tyler Riddle Date: Sun, 11 Nov 2012 01:55:51 +0000 (-0800) Subject: forward OBJECT_REMOTE_LOG_FORWARDING env var X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=aa4a1d83d2630eb66d0a10422aae3ab4396d9434;p=scpubgit%2FObject-Remote.git forward OBJECT_REMOTE_LOG_FORWARDING env var --- diff --git a/lib/Object/Remote/FatNode.pm b/lib/Object/Remote/FatNode.pm index 8a3ffb8..52c772c 100644 --- a/lib/Object/Remote/FatNode.pm +++ b/lib/Object/Remote/FatNode.pm @@ -77,6 +77,11 @@ if (defined($ENV{OBJECT_REMOTE_LOG_SELECTIONS})) { my $selections = $ENV{OBJECT_REMOTE_LOG_SELECTIONS}; $env_pass .= '$ENV{OBJECT_REMOTE_LOG_SELECTIONS} = "' . $selections . "\";\n"; } +if (defined($ENV{OBJECT_REMOTE_LOG_FORWARDING})) { + my $forwarding = $ENV{OBJECT_REMOTE_LOG_FORWARDING}; + $env_pass .= '$ENV{OBJECT_REMOTE_LOG_FORWARDING} = "' . $forwarding . "\";\n"; +} + my $start = stripspace <<'END_START';