summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-11-23 13:12:16 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-11-23 13:12:16 +0100
commitf318028961ebf045383bab26305b9232b1d34b94 (patch)
tree1e19eb524c28fa700a699fe0c37cd49dc98cde41
parent68a93c32579aae3ea47c11dc245d5580a4444274 (diff)
sourceballs: fix output
-rwxr-xr-xcron-jobs/sourceballs11
1 files changed, 3 insertions, 8 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs
index f226288..16c41f8 100755
--- a/cron-jobs/sourceballs
+++ b/cron-jobs/sourceballs
@@ -68,15 +68,11 @@ for repo in ${PKGREPOS[@]}; do
# Build the source package if its not already there
if ! grep -Fqx "${pkgbase}-${pkgver}${SRCEXT}" "${WORKDIR}/available-src-pkgs"; then
- # Looks like a previous arch faild; skip it
- if [ -d "${WORKDIR}/pkgbuilds/${repo}-${pkgarch}/${pkgbase}" ]; then
- continue
- fi
mkdir -p "${WORKDIR}/pkgbuilds/${repo}-${pkgarch}"
svn export -q "${SVNREPO}/${pkgbase}/repos/${repo}-${pkgarch}" \
"${WORKDIR}/pkgbuilds/${repo}-${pkgarch}/${pkgbase}" >/dev/null 2>&1
if [ $? -ge 1 ]; then
- failedpkgs[${#failedpkgs[*]}]="${pkgbase}"
+ failedpkgs[${#failedpkgs[*]}]="${pkgbase}-${pkgver}${SRCEXT}"
continue
fi
@@ -86,12 +82,11 @@ for repo in ${PKGREPOS[@]}; do
mv "${pkgbase}-${pkgver}${SRCEXT}" "${FTP_BASE}/${SRCPOOL}"
# Avoid creating the same source package for every arch
echo "${pkgbase}-${pkgver}${SRCEXT}" >> "${WORKDIR}/available-src-pkgs"
+ newpkgs[${#newpkgs[*]}]="${pkgbase}-${pkgver}${SRCEXT}"
else
- failedpkgs[${#failedpkgs[*]}]="${pkgbase}"
+ failedpkgs[${#failedpkgs[*]}]="${pkgbase}-${pkgver}${SRCEXT}"
fi
popd >/dev/null
-
- newpkgs[${#newpkgs[*]}]="${pkgbase}"
fi
done < "${WORKDIR}/db-${repo}"