Handle new debug file

This commit is contained in:
MatMoul 2024-03-06 23:24:23 +01:00
parent 77df9b57f8
commit 41734d3cb2

View File

@ -200,7 +200,8 @@ pkgBuild() { # $1=PKGNAME
return 1 return 1
fi fi
local PKGFILENAME="" local PKGFILENAME=""
PKGFILENAME=$(ls "${WORKDIR}"/.output/"${PKGNAME}"*.pkg.tar.zst) # shellcheck disable=SC2012
PKGFILENAME=$(ls "${WORKDIR}"/.output/"${PKGNAME}"*.pkg.tar.zst | head -n 1)
local VERSION="" local VERSION=""
VERSION=$(pacman -Qp "${PKGFILENAME}" | awk -F ' ' '{print $2}') VERSION=$(pacman -Qp "${PKGFILENAME}" | awk -F ' ' '{print $2}')
if [[ "${DRYRUN}" == "0" ]]; then if [[ "${DRYRUN}" == "0" ]]; then