git: 17db9a3291e9 - main - Mk/bsd.port.mk: fix typo in .warning
Chris
i.h8.git at BSDforge.com
Wed Jul 28 17:25:35 UTC 2021
On 2021-07-22 02:29, Alexey Dokuchaev wrote:
> On Thu, Jul 22, 2021 at 09:23:29AM +0000, Matthias Andree wrote:
>> commit 17db9a3291e9e8b62af035ee1b22160be465976a
>>
>> Mk/bsd.port.mk: fix typo in .warning
>>
>> vertion -> version.
>>
>> --- a/Mk/bsd.port.mk
>> +++ b/Mk/bsd.port.mk
>> @@ -1216,7 +1216,7 @@ _PKG_BEFORE_PKGEXT!= ${PKG_BIN} version -t
>> ${_PKG_VERSION:C/-.*//g} 1.17.0
>> .if ${_PKG_BEFORE_PKGEXT} == "<"
>> _PKG_TRANSITIONING_TO_NEW_EXT= yes
>> _EXPORTED_VARS+= _PKG_TRANSITIONING_TO_NEW_EXT
>> -.warning "It is strongly recommanded to upgrade to a newer vertion of pkg
>> first"
>> +.warning "It is strongly recommanded to upgrade to a newer version of pkg
>> first"
>
> When fixing typos, it's usually a good idea to check if thre are more
> of them around (e.g., "recommanded"). I'd probably just grepped for
> .warning and .error strings and run aspell(1) over them.
>
> ./danfe
A humble suggestion to change:
.warning "It is strongly recommanded to upgrade to a newer version of pkg
first
to
.warning "It is strongly recommended that you upgrade to a newer version of
pkg first
or
.warning "You are strongly encouraged to upgrade to a newer version of pkg
first
FWIW :-)
--Chris
More information about the dev-commits-ports-all
mailing list