[debhelper-devel] [PATCH] meson.pm: Fix locale name

Jakub Wilk jwilk at jwilk.net
Mon Feb 12 12:09:31 UTC 2018


---
 lib/Debian/Debhelper/Buildsystem/meson.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Debian/Debhelper/Buildsystem/meson.pm b/lib/Debian/Debhelper/Buildsystem/meson.pm
index 8d710da6..f157296f 100644
--- a/lib/Debian/Debhelper/Buildsystem/meson.pm
+++ b/lib/Debian/Debhelper/Buildsystem/meson.pm
@@ -59,7 +59,7 @@ sub configure {
 			my $filename = generated_file('_source', 'meson-cross-file.conf');
 			my %options = (
 				stdout => '/dev/null',
-				update_env => { LC_ALL => 'C.UTC-8'},
+				update_env => { LC_ALL => 'C.UTF-8'},
 			);
 			doit(\%options, $debcrossgen, "-o${filename}");
 			$cross_file = $filename;
@@ -76,7 +76,7 @@ sub configure {
 	$this->mkdir_builddir();
 	eval {
 		my %options = (
-			update_env => { LC_ALL => 'C.UTC-8'},
+			update_env => { LC_ALL => 'C.UTF-8'},
 		);
 		$this->doit_in_builddir(\%options, "meson", $this->get_source_rel2builddir(), @opts, @_);
 	};
-- 
2.16.1




More information about the debhelper-devel mailing list