This is an automated email from the git hooks/post-receive script.

abe pushed a commit to annotated tag 0.50
in repository libcgi-test-perl.

commit e20af57f3d18d40b245cd3ddec4fc1c586bcda9e
Author: Alex Tokarev <noh...@nohuhu.org>
Date:   Fri Sep 5 22:01:12 2014 -0700

    Fixed PERL5LIB passing on Windows
---
 lib/CGI/Test.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/CGI/Test.pm b/lib/CGI/Test.pm
index 6598452..eada59e 100644
--- a/lib/CGI/Test.pm
+++ b/lib/CGI/Test.pm
@@ -644,8 +644,9 @@ sub _run_cgi
     # Since we're about to chdir() to the cgi-bin directory, we must anchor
     # any relative path to the current working directory.
     #
+    my $path_sep = WINDOWS ? ';' : ':';
 
-    $ENV{PERL5LIB} = join(':', map {-e $_ ? abs_path($_) : $_} @INC);
+    $ENV{PERL5LIB} = join($path_sep, map {-e $_ ? abs_path($_) : $_} @INC);
 
     #
     # Now run the script, changing the current directory to the location

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcgi-test-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to