OELint: Inconsisten behaviour when including files with variable in name #627
-
Hi, Describe the bug
I'm adding the
In contrast, SCA doesn't complain about the My assumption is that the statement Is this desired behaviour or a bug? Used layer
Thanks for investigating. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
My personal take would be to change it to the following
as |
Beta Was this translation helpful? Give feedback.
MACHINE
expansion is tricky, as it's not a fixed value.The
require
here would fail the build if no matching file can be found - which is in itself an error.My personal take would be to change it to the following
as
include
doesn't have that limitation, meaning it skips silently on missing files