git: 17db9a3291e9 - main - Mk/bsd.port.mk: fix typo in .warning

Matthias Andree mandree at FreeBSD.org
Thu Jul 22 09:37:22 UTC 2021


Am 22.07.21 um 11:29 schrieb Alexey Dokuchaev:
> 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
> 

Yeah, right, sorry for the incomplete fix. Fixed in 4f62d3170cfc.

However, the *spell-checking matter is one for the the original
committer (in Bcc:) in the first place though.


More information about the dev-commits-ports-main mailing list