Commit 780343c
committed
qcom-adreno: fix invalid negation in conditionals
Replace the invalid 'not' with '!' in conditionals
Use '!' instead of 'not' in conditionals since it is not a valid shell operator; as seen in the build logs:
run.do_install.114409: 143: not: not found
run.do_install.114409: 147: not: not found
The conditionals always evaluated to false, so when a user does not have 'x11' or 'wayland' in DISTRO_FEATURES, this causes the do_package task to fail, e.g.:
qcom-adreno: Files/directories were installed but not
shipped in any package:
/usr/lib/libeglSubDriverX11.so.1
Signed-off-by: Stanislas Bach <stanislas@bach.engineering>1 parent 40af8f5 commit 780343c
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments