[packages/adapter: 440/631] - force utf8 locale

glen glen at pld-linux.org
Mon Sep 12 20:11:19 CEST 2016


commit deadca7d302fdca8f0dfe14f78aab9ce7fb93c0a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Mar 3 17:30:00 2009 +0000

    - force utf8 locale
    
    Changed files:
        adapter.sh -> 1.35

 adapter.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.sh b/adapter.sh
index f38328c..8acc57c 100644
--- a/adapter.sh
+++ b/adapter.sh
@@ -217,7 +217,7 @@ adapterize() {
 
 	import_rpm_macros
 
-	$awk -f $adapter $SPECFILE > $tmp || exit
+	LC_ALL=en_US.UTF-8 $awk -f $adapter $SPECFILE > $tmp || exit
 
 	if [ "$outputonly" = 1 ]; then
 		cat $tmp
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list