mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-30 09:59:13 +08:00
Merge pull request #3941 from jdanford/typo-neccessary
Change 'neccessary' to 'necessary'
This commit is contained in:
@ -35,7 +35,7 @@ check_at_least_version() {
|
||||
# if the second dot doesn't match, we consider it a prerelease
|
||||
|
||||
if MIN_MIN=$(expr "$MIN_VERS" : "[^.]*\.\([0-9]\+\)"); then
|
||||
# this captured digit is neccessary, since expr returns code 1 if the output is empty
|
||||
# this captured digit is necessary, since expr returns code 1 if the output is empty
|
||||
if expr "$MIN_VERS" : "[^.]*\.[0-9]*\([0-9]\.\|[0-9]\$\)" >/dev/null; then
|
||||
MIN_PRERELEASE="0"
|
||||
else
|
||||
@ -48,7 +48,7 @@ check_at_least_version() {
|
||||
MIN_FIX="0"
|
||||
fi
|
||||
if CUR_MIN=$(expr "$CUR_VERS" : "[^.]*\.\([0-9]\+\)"); then
|
||||
# this captured digit is neccessary, since expr returns code 1 if the output is empty
|
||||
# this captured digit is necessary, since expr returns code 1 if the output is empty
|
||||
if expr "$CUR_VERS" : "[^.]*\.[0-9]*\([0-9]\.\|[0-9]\$\)" >/dev/null; then
|
||||
CUR_PRERELEASE="0"
|
||||
else
|
||||
|
@ -247,7 +247,7 @@ var configReplaceCmd = &cmds.Command{
|
||||
Helptext: cmds.HelpText{
|
||||
Tagline: "Replace the config with <file>.",
|
||||
ShortDescription: `
|
||||
Make sure to back up the config file first if neccessary, as this operation
|
||||
Make sure to back up the config file first if necessary, as this operation
|
||||
can't be undone.
|
||||
`,
|
||||
},
|
||||
|
Reference in New Issue
Block a user