[libdist-zilla-plugin-githubmeta-perl] 01/01: Set LC_ALL to C as well as LANG

Axel Beckert abe at deuxchevaux.org
Sun Apr 26 22:26:08 UTC 2015


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

abe pushed a commit to annotated tag 0.46
in repository libdist-zilla-plugin-githubmeta-perl.

commit e3eb032ff0241d18f79a4b73288e4b43a46df9da
Author: Chris 'BinGOs' Williams <chris at bingosnet.co.uk>
Date:   Mon May 12 22:18:44 2014 +0100

    Set LC_ALL to C as well as LANG
    
    Reported by Slaven Rezić as RT#95587
---
 dist.ini                            | 2 +-
 lib/Dist/Zilla/Plugin/GithubMeta.pm | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/dist.ini b/dist.ini
index e7b26c3..85aaa15 100644
--- a/dist.ini
+++ b/dist.ini
@@ -1,5 +1,5 @@
 name = Dist-Zilla-Plugin-GithubMeta
-version = 0.44
+version = 0.46
 author = Chris Williams <chris at bingosnet.co.uk>
 author = Ricardo SIGNES <rjbs at cpan.org>
 license = Perl_5
diff --git a/lib/Dist/Zilla/Plugin/GithubMeta.pm b/lib/Dist/Zilla/Plugin/GithubMeta.pm
index e6fad6a..e38acd1 100644
--- a/lib/Dist/Zilla/Plugin/GithubMeta.pm
+++ b/lib/Dist/Zilla/Plugin/GithubMeta.pm
@@ -136,6 +136,7 @@ sub metadata {
 
 sub _url_for_remote {
   my ($self, $remote) = @_;
+  local $ENV{LC_ALL}='C';
   local $ENV{LANG}='C';
   my @remote_info = `git remote show -n $remote`;
   for my $line (@remote_info) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-githubmeta-perl.git



More information about the Pkg-perl-cvs-commits mailing list