The following commit has been merged in the master branch:
commit e394a38b52457dd26d138f8eef050132b1b70a81
Author: Niels Thykier <[email protected]>
Date:   Thu Feb 9 21:34:31 2012 +0100

    Util: Fix stupid error in clean_env
    
    Signed-off-by: Niels Thykier <[email protected]>

diff --git a/lib/Util.pm b/lib/Util.pm
index f1fe76d..af4d3cf 100644
--- a/lib/Util.pm
+++ b/lib/Util.pm
@@ -296,8 +296,7 @@ sub clean_env {
     %ENV = %newenv;
     return if $no_lcall;
     foreach my $locpath ($ENV{LOCPATH}, '/usr/lib/locale') {
-        if ($locpath && -d $ENV{LOCPATH}) {
-            $locpath = $ENV{LOCPATH};
+        if ($locpath && -d $locpath) {
             foreach my $loc (@locales) {
                 if ( -d "$locpath/$loc" ) {
                     $ENV{LC_ALL} = $loc;

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to