[SCM] Debian package checker branch, master, updated. 2.5.4-160-ge394a38
The following commit has been merged in the master branch:
commit e394a38b52457dd26d138f8eef050132b1b70a81
Author: Niels Thykier <niels@thykier.net>
Date: Thu Feb 9 21:34:31 2012 +0100
Util: Fix stupid error in clean_env
Signed-off-by: Niels Thykier <niels@thykier.net>
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
Reply to: