From: Tyler Riddle Date: Sun, 11 Nov 2012 01:55:51 +0000 (-0800) Subject: forward OBJECT_REMOTE_LOG_FORWARDING env var X-Git-Tag: v0.003001_01~64 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=837cfa50bac9501ba39c18f06bbe0a76bc0b9dfd;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 41ad696..819b9a5 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';