diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2021-10-26 12:45:22 +0200 |
---|---|---|
committer | Iñigo Martínez <inigomartinez@gmail.com> | 2021-10-26 12:45:59 +0200 |
commit | d960af37d8e7e487962f785210e9cf43bb3666f6 (patch) | |
tree | e5eea9c040750a0bf02d77653019244bed78fe0e | |
parent | b5bd69368c27395edcb22f0b5336ca0b70e39829 (diff) |
build: Fix double quotes in rules file
`QMI_USERNAME` is quoted twice in the
`76-qmi-proxy-device-ownership.rules` rules file. This is because
the definition is used in two files.
The first one is `config.h` file, that is used in source code files
and needs to be explicitly quoted. The second one is the rules file,
mentioned above that already has quotes in the template file.
The explicit quotes have been removed in the rules file generation.
-rw-r--r-- | src/qmi-proxy/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmi-proxy/meson.build b/src/qmi-proxy/meson.build index dd8f818..fa00c4a 100644 --- a/src/qmi-proxy/meson.build +++ b/src/qmi-proxy/meson.build @@ -16,7 +16,7 @@ if enable_qmi_username configure_file( input: '76-qmi-proxy-device-ownership.rules.in', output: '@BASENAME@', - configuration: config_h, + configuration: {'QMI_USERNAME': qmi_username}, install_dir: udev_udevdir / 'rules.d', ) endif |