From: Graham Knop Date: Thu, 31 Oct 2013 19:01:39 +0000 (-0400) Subject: adjust csh output to allow use directly by eval X-Git-Tag: 1.008025~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2d98051c38d78237aaf9cd3a72543177edee4cbf;p=p5sagit%2Flocal-lib.git adjust csh output to allow use directly by eval --- diff --git a/lib/local/lib.pm b/lib/local/lib.pm index 51438a0..7947bc2 100644 --- a/lib/local/lib.pm +++ b/lib/local/lib.pm @@ -345,7 +345,7 @@ sub build_bourne_env_declaration { sub build_csh_env_declaration { my $class = shift; my($name, $value) = @_; - return defined($value) ? qq{setenv ${name} "${value}"\n} : qq{unsetenv ${name}\n}; + return defined($value) ? qq{setenv ${name} "${value}";\n} : qq{unsetenv ${name};\n}; } sub build_win32_env_declaration {