git: vi(1): Fix "make check" for catalog
Aaron LI
aly at crater.dragonflybsd.org
Sun Mar 29 06:55:24 PDT 2026
commit 20f32b24eb1247910ab6af79608bac4ed2ccb84a
Author: Aaron LI <aly at aaronly.me>
Date: Sun Mar 29 18:04:38 2026 +0800
vi(1): Fix "make check" for catalog
* The "check" target was creating the wrong output files and that caused
it to fail because the output files were read-only (chmod 444). Fix
the "check" target to use ${.TARGET} as the correct output files.
Also remove the unnecessary chmod.
* Adjust the rules to use 'LC_ALL' instead of 'LANG', as the 'LC_ALL'
can override all the locale settings.
* Fix "check" target to export 'LC_ALL' at the beginning, and thus
fix the following 'sed' errors:
```
... french
sed: RE error: Illegal byte sequence
sed: RE error: Illegal byte sequence
... german
sed: RE error: Illegal byte sequence
sed: RE error: Illegal byte sequence
... polish
sed: RE error: Illegal byte sequence
sed: RE error: Illegal byte sequence
... ru_RU.KOI8-R
sed: RE error: Illegal byte sequence
sed: RE error: Illegal byte sequence
... spanish
sed: RE error: Illegal byte sequence
sed: RE error: Illegal byte sequence
... swedish
sed: RE error: Illegal byte sequence
sed: RE error: Illegal byte sequence
... uk_UA.KOI8-U
sed: RE error: Illegal byte sequence
sed: RE error: Illegal byte sequence
... zh_CN.GB2312
sed: RE error: Illegal byte sequence
sed: RE error: Illegal byte sequence
```
Summary of changes:
usr.bin/vi/catalog/Makefile | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/20f32b24eb1247910ab6af79608bac4ed2ccb84a
--
DragonFly BSD source repository
More information about the Commits
mailing list