aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2003-08-04 15:25:39 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2003-08-04 15:25:39 +0000
commitb13fdf99995f67b67be96d567994439736eeb246 (patch)
treef9db8ae1d3f9effe3c33a316a9e59d7e30331eb5
parent11871d537bc79b9c092fb2d5e6e707c5fffa1e47 (diff)
downloadsrc-b13fdf99995f67b67be96d567994439736eeb246.tar.gz
src-b13fdf99995f67b67be96d567994439736eeb246.zip
Fix problem differently, use 
LANG=C tr 'a-z' 'A-Z'  for hypotetical case that script may generate non-ascii characters
Notes
Notes: svn path=/head/; revision=118431
-rw-r--r--sbin/route/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/route/Makefile b/sbin/route/Makefile
index 5f8b5016e865..2e423ee1a2d7 100644
--- a/sbin/route/Makefile
+++ b/sbin/route/Makefile
@@ -11,7 +11,7 @@ CLEANFILES+=keywords.h _keywords.tmp
keywords.h: keywords
sed -e '/^#/d' -e '/^$$/d' ${.CURDIR}/keywords > _keywords.tmp
- tr '[:lower:]' '[:upper:]' < _keywords.tmp | paste _keywords.tmp - | \
+ LANG=C tr 'a-z' 'A-Z' < _keywords.tmp | paste _keywords.tmp - | \
awk '{ \
if (NF > 1) \
printf "#define\tK_%s\t%d\n\t{\"%s\", K_%s},\n", \