summaryrefslogtreecommitdiff
path: root/ftp/bsdftpd-ssl/files/patch-contrib-libedit-makelist
blob: 8c4488d8cc1d19a021cb0a4e546641a02b790d88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- contrib/libedit/makelist.orig	2001-12-16 23:55:26 UTC
+++ contrib/libedit/makelist
@@ -128,8 +128,8 @@ case $FLAG in
 	    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");