subprojects: iniparser: Address meson run_command() warning
The `run_command()` invocations in the iniparser meson.build lacked the
`check` parameter:
```
iniparser| WARNING: You should add the boolean check kwarg to the run_command call.
iniparser| It currently defaults to false,
iniparser| but it will default to true in future releases of meson.
iniparser| See also: https://github.com/mesonbuild/meson/issues/9300
```
Add `check` and set it to true to make sure the build configuration only
succeeds if these commands also succeed.
Fixes: 1e04f449b7f0 ("use iniparser dependency for config file parsing")
Change-Id: I97841398fc899e876b97e4e28e18cd8dd3b13222
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/subprojects/packagefiles/iniparser/meson.build b/subprojects/packagefiles/iniparser/meson.build
index c1d89a7..511a830 100644
--- a/subprojects/packagefiles/iniparser/meson.build
+++ b/subprojects/packagefiles/iniparser/meson.build
@@ -6,8 +6,8 @@
inc = 'iniparser-include'
-run_command('sh', '-c', 'mkdir -p iniparser-include/iniparser')
-run_command('sh', '-c', 'cp -r src/* iniparser-include/iniparser/')
+run_command('sh', '-c', 'mkdir -p iniparser-include/iniparser', check: true)
+run_command('sh', '-c', 'cp -r src/* iniparser-include/iniparser/', check: true)
iniparser = shared_library('iniparser',
'src/dictionary.c',