summaryrefslogtreecommitdiff
path: root/ftp/bsdftpd-ssl/files/patch-contrib-libedit-makelist
blob: 4489ccb14040441fd6ea36d573f4aec29727a8be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- contrib/libedit/makelist.orig	2001-12-17 07:55:26.000000000 +0800
+++ contrib/libedit/makelist	2007-08-31 20:32:51.000000000 +0800
@@ -128,8 +128,8 @@
 	    printf("#endif /* _h_help_c */\n");
 	}' /dev/null;;
 -fh)
-    cat $FILES | $AWK '/el_action_t/ { print $3 }' | \
-    sort | tr '[a-z]' '[A-Z]' | $AWK '
+    env LANG=C cat $FILES | $AWK '/el_action_t/ { print $3 }' | \
+    sort | env LANG=C tr '[a-z]' '[A-Z]' | $AWK '
 	BEGIN { 
 	    printf("/* Automatically generated file, do not edit */\n");
 	    printf("#ifndef _h_fcns_c\n#define _h_fcns_c\n");