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

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=b7aaed4130a54a644a2ccad1ea4782e5aea48159

commit b7aaed4130a54a644a2ccad1ea4782e5aea48159
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Sat Oct 11 17:03:44 2025 +0200

    Dpkg::BuildInfo: Allow LANGUAGE variable
    
    This can affect the locale output.
---
 scripts/Dpkg/BuildInfo.pm  | 3 ++-
 scripts/t/Dpkg_BuildInfo.t | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/scripts/Dpkg/BuildInfo.pm b/scripts/Dpkg/BuildInfo.pm
index abab6e8aa..5daca6d09 100644
--- a/scripts/Dpkg/BuildInfo.pm
+++ b/scripts/Dpkg/BuildInfo.pm
@@ -97,9 +97,10 @@ my @env_allowed = (
     qw(
         LD_LIBRARY_PATH
     ),
-    # Locale, see locale(1).
+    # Locale, see locale(1), locale(7).
     qw(
         LANG
+        LANGUAGE
         LC_ALL
         LC_CTYPE
         LC_NUMERIC
diff --git a/scripts/t/Dpkg_BuildInfo.t b/scripts/t/Dpkg_BuildInfo.t
index 8ba46b13d..71df9c907 100644
--- a/scripts/t/Dpkg_BuildInfo.t
+++ b/scripts/t/Dpkg_BuildInfo.t
@@ -19,5 +19,5 @@ use Test::More tests => 2;
 
 use ok 'Dpkg::BuildInfo';
 
-is(scalar Dpkg::BuildInfo::get_build_env_allowed(), 63,
+is(scalar Dpkg::BuildInfo::get_build_env_allowed(), 64,
     'allowed environment variables array');

-- 
Dpkg.Org's dpkg

Reply via email to