Skip to content
Snippets Groups Projects
Verified Commit b3e9be8b authored by Andrei Gherzan's avatar Andrei Gherzan :penguin:
Browse files

linux-oniro: Fix COMPATIBLE_MACHINE regex match


With the current regex expression a machine that is not part of the
compatible one would match if it is a substring of one of the machines
part of the regex expression.

For example "qemuarm64-efi" will match
"qemuarm|qemuarm64|qemux86|qemux86-64|qemuriscv64|qemuriscv32|qemu-generic-arm64".

Fix this by matching the start and the end of the string.

Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent d3a9f9d8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment