Skip to content

Commit

Permalink
split long line
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge committed Jan 16, 2024
1 parent b49ce5d commit 23aa7ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,8 @@ def pre_configure_hook_atspi2core_filter_ld_library_path(self, *args, **kwargs):
"""
if self.name == 'at-spi2-core':
if build_option('filter_env_vars') and 'LD_LIBRARY_PATH' in build_option('filter_env_vars'):
self.cfg.update('preconfigopts', 'sed -i "s/gir_extra_args = \[/gir_extra_args = \[\\n \'--lib-dirs-envvar=FILTER_LD_LIBRARY_PATH\',/g" %(start_dir)s/atspi/meson.build && ')
sed_cmd = 'sed -i "s/gir_extra_args = \[/gir_extra_args = \[\\n \'--lib-dirs-envvar=FILTER_LD_LIBRARY_PATH\',/g" %(start_dir)s/atspi/meson.build && ')
self.cfg.update('preconfigopts', sed_cmd)
else:
raise EasyBuildError("at-spi2-core-specific hook triggered for non-at-spi2-core easyconfig?!")

Expand Down

0 comments on commit 23aa7ce

Please sign in to comment.