runtime: Fix legacy package regex in collect script

The function that checks for legacy packages in the collect script was
missing pipes denoting regex alternation.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
James O. D. Hunt 2020-06-01 10:32:04 +01:00
parent 04eced50ad
commit e0148c9cb9

View File

@ -292,8 +292,8 @@ show_package_versions()
# CC 2.x, 3.0 and runv runtimes. They shouldn't be installed but let's
# check anyway.
pattern+="cc-oci-runtime"
pattern+="cc-runtime"
pattern+="runv"
pattern+="|cc-runtime"
pattern+="|runv"
# core components
for project in @PROJECT_TYPE@