Skip to content

Commit

Permalink
Fix typo: coma->comma
Browse files Browse the repository at this point in the history
  • Loading branch information
xclaesse committed Jul 1, 2020
1 parent f08eed3 commit fba796c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/markdown/Wrap-dependency-system-manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ When a wrap file provides the dependency `foo` any call do `dependency('foo')`
will automatically fallback to that subproject even if no `fallback` keyword
argument is given. It is recommended for subprojects to call
`meson.override_dependency('foo', foo_dep)`, dependency name can then be added into
the special `dependency_names` entry which takes coma separated list of dependency
the special `dependency_names` entry which takes comma separated list of dependency
names. For backward compatibility with subprojects that does not call
`meson.override_dependency()`, the variable name can be provided in the wrap file
with entries in the format `dependency_name = variable_name`,
Expand Down
4 changes: 2 additions & 2 deletions mesonbuild/wrap/wrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ def parse_provide_section(self):
if self.config.has_section('provide'):
for k, v in self.config['provide'].items():
if k == 'dependency_names':
# A coma separated list of dependency names that does not
# A comma separated list of dependency names that does not
# need a variable name
names = {n.strip(): None for n in v.split(',')}
self.provide.update(names)
continue
if k == 'program_names':
# A coma separated list of program names
# A comma separated list of program names
names = {n.strip(): None for n in v.split(',')}
self.provide_programs += names
continue
Expand Down

0 comments on commit fba796c

Please sign in to comment.