aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/vi
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2015-08-27 14:00:16 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2015-08-27 14:00:16 +0000
commit93f422607b4112a626577ebc145dd4583f8b3b47 (patch)
treef371bdd01575d2378157ef7e8b70d6f43a24702e /usr.bin/vi
parent26f0e89a6de1c35eaa262277a4fd3553d81235ab (diff)
downloadsrc-93f422607b4112a626577ebc145dd4583f8b3b47.tar.gz
src-93f422607b4112a626577ebc145dd4583f8b3b47.zip
Notes
Diffstat (limited to 'usr.bin/vi')
-rw-r--r--usr.bin/vi/catalog/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/vi/catalog/Makefile b/usr.bin/vi/catalog/Makefile
index 4e21298a095e..b85eaa86315d 100644
--- a/usr.bin/vi/catalog/Makefile
+++ b/usr.bin/vi/catalog/Makefile
@@ -32,9 +32,9 @@ CAT+= $c.UTF-8
.for c in ${CAT}
${c}: ${c}.base
- @echo "... $c"; \
+ echo "... $c"; \
rm -f $c; \
- sort -u ${.ALLSRC} | \
+ env LANG=C sort -u ${.ALLSRC} | \
awk '{ \
if ($$1 == 1) { \
print "\nMESSAGE NUMBER 1 IS NOT LEGAL"; \
@@ -44,7 +44,7 @@ ${c}: ${c}.base
print "DUPLICATE MESSAGE NUMBER " $$1; \
exit 1; \
} \
- print $0; \
+ print $$0; \
}' | \
sed -e '1s/^/$$set 1~$$quote "~/; 1y/~/\n/' | \
gencat $c /dev/stdin; \