Verified Commit 3a7902b9 authored by Morten Linderud's avatar Morten Linderud 🏄
Browse files

test/lib/common: Make checkPackageDB aware of debug packages



We simply remove the -debug prefix if present and ensure we are checking
the SVN repository for the PKGBUILD in the actual repository.

Signed-off-by: Morten Linderud's avatarMorten Linderud <morten@linderud.pw>
parent aa8e0b27
......@@ -256,7 +256,7 @@ checkPackage() {
local dirarches=() pkgbuildarches=()
local pkgbuild dirarch pkgbuildver
for pkgbuild in "${TMP}/svn-packages-copy/${pkgbase}/repos/${repo}-"+([^-])"/PKGBUILD"; do
for pkgbuild in "${TMP}/svn-packages-copy/${pkgbase}/repos/${repo%-debug}-"+([^-])"/PKGBUILD"; do
[[ -e $pkgbuild ]] || continue
dirarch=${pkgbuild%/PKGBUILD}
dirarch=${dirarch##*-}
......
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