meson: execute bash instead of script directly

This commit is contained in:
Alexandros Theodotou 2023-12-13 03:06:12 +09:00
parent 0ee8c8ac71
commit 9725b85b5a
No known key found for this signature in database
GPG Key ID: 022EAE42313D70F3
1 changed files with 5 additions and 2 deletions

View File

@ -159,8 +159,11 @@ foreach pl : plugins
output: pl_underscored_name + '.lv2',
build_by_default: true,
command: [
gen_lv2_bundle_for_test, '@OUTPUT@',
'@INPUT0@', '@INPUT1@', '@INPUT2@',
bash, '-c',
# TODO use gen_lv2_bundle_for_test.full_path() from meson 1.4.0
meson.current_build_dir() / 'gen-lv2-bundle-for-test.sh' + ' "$1" "$2" "$3" "$4"',
'_ignored',
'@OUTPUT@', '@INPUT0@', '@INPUT1@', '@INPUT2@',
],
input: [
pl_ttl,