diff options
author | ache <ache@FreeBSD.org> | 2003-08-04 15:25:39 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2003-08-04 15:25:39 +0000 |
commit | e452c1ad2a9a8c4cbb3703d6dadafbb833b591b5 (patch) | |
tree | f9db8ae1d3f9effe3c33a316a9e59d7e30331eb5 /sbin/route | |
parent | eb68bb9971e2fcf776fd03720f86a5c87d85c237 (diff) | |
download | FreeBSD-src-e452c1ad2a9a8c4cbb3703d6dadafbb833b591b5.zip FreeBSD-src-e452c1ad2a9a8c4cbb3703d6dadafbb833b591b5.tar.gz |
Fix problem differently, use
LANG=C tr 'a-z' 'A-Z'
for hypotetical case that script may generate non-ascii characters
Diffstat (limited to 'sbin/route')
-rw-r--r-- | sbin/route/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/route/Makefile b/sbin/route/Makefile index 5f8b501..2e423ee 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", \ |