summaryrefslogtreecommitdiff
path: root/cmd-line-utils
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-01-08 05:32:47 +0100
committerunknown <jimw@mysql.com>2005-01-08 05:32:47 +0100
commit00c4dfec19aba6c40d06e24fd71976226c225ea8 (patch)
treefea38e22a2747fb4201ec33a3dec8bf10bd61f27 /cmd-line-utils
parent0c57a67ce0434fa78e2b64f569a271d166371a32 (diff)
downloadmariadb-git-00c4dfec19aba6c40d06e24fd71976226c225ea8.tar.gz
Fix unportable 'tr' usage in libedit build process. (Bug #7669)
cmd-line-utils/libedit/makelist.sh: Spell out the character range for braindead versions of tr (like /usr/xpg4/bin/tr on Sun Solaris 2.10)
Diffstat (limited to 'cmd-line-utils')
-rw-r--r--cmd-line-utils/libedit/makelist.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-line-utils/libedit/makelist.sh b/cmd-line-utils/libedit/makelist.sh
index fbce06fcc50..b2502d16ed1 100644
--- a/cmd-line-utils/libedit/makelist.sh
+++ b/cmd-line-utils/libedit/makelist.sh
@@ -145,7 +145,7 @@ case $FLAG in
#
-fh)
cat $FILES | $AWK '/el_action_t/ { print $3 }' | \
- sort | tr '[a-z]' '[A-Z]' | $AWK '
+ sort | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | $AWK '
BEGIN {
printf("/* Automatically generated file, do not edit */\n");
printf("#ifndef _h_fcns_c\n#define _h_fcns_c\n");