Verified Commit 796bed5b authored by Morten Linderud's avatar Morten Linderud 🏄
Browse files

test/common: correct grep usage


Signed-off-by: Morten Linderud's avatarMorten Linderud <morten@linderud.pw>
parent 90d3b8ba
Pipeline #13897 canceled with stage
......@@ -240,7 +240,7 @@ checkPackageDB() {
for db in ${DBEXT} ${FILESEXT}; do
[ -r "${FTP_BASE}/${repo}/os/${repoarch}/${repo}${db%.tar.*}" ]
bsdtar -xf "${FTP_BASE}/${repo}/os/${repoarch}/${repo}${db%.tar.*}" -O | grep "${pkgfile%${PKGEXT}}" &>/dev/null
bsdtar -xf "${FTP_BASE}/${repo}/os/${repoarch}/${repo}${db%.tar.*}" -O | grep -qFx "${pkgfile}"
done
done
done
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment