Commit e0b972c1 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

diffrepo: use makepkg --packagelist to retrieve *.pkg.tar.xz

globbing does not take PKGDEST in account, therefore use makepkg
parent 248b9baa
......@@ -26,7 +26,7 @@ tartf() {
function {
local pkgname epoch pkgver pkgrel arch
for pkg in *.pkg.tar.*z(N); do
for pkg in $(makepkg --packagelist); do
parse $pkg
otherpkg=( /srv/ftp/pool/*/${pkgname}-[^-]##-[^-]##-${arch}.pkg.tar.*z(Nom[1]) )
if [[ -n $otherpkg ]]; then
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