Skip to content

Commit

Permalink
🐛 add length() check to deps install
Browse files Browse the repository at this point in the history
  • Loading branch information
rjdbcm committed Aug 28, 2024
1 parent 5f2b441 commit c223d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ configure_file(
output: 'PKG-INFO',
)
deps = run_command(python, '-c', install_dependencies, check: true).stdout().strip().split('$$')
if deps.length() > 0
if deps.length() > 1
meson.add_postconf_script(pip, 'install', deps)
endif
meson.add_dist_script(pip, 'install', 'tomli>=2.0.0')
Expand Down

0 comments on commit c223d71

Please sign in to comment.