summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-08-13 09:16:22 -0700
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-08-13 09:16:22 -0700
commit08d7532452e9fcae248a17881f11051b564d313b (patch)
tree478dfe2296ac56dc1a51d50fd1d39ed9a7180e9c
parent06573a04a476726687485ba70447ffa71f6840a8 (diff)
parenteac9e4d43cc33bf6671fdbd7f04e5bab387259d6 (diff)
Merge branch 'master' of http://projects.parabolagnulinux.org/dbscripts into stable
-rwxr-xr-xcron-jobs/sourceballs216
1 files changed, 5 insertions, 11 deletions
diff --git a/cron-jobs/sourceballs2 b/cron-jobs/sourceballs2
index a43d71e..5e228fc 100755
--- a/cron-jobs/sourceballs2
+++ b/cron-jobs/sourceballs2
@@ -22,10 +22,10 @@ find "${ARCH_BASE}/${SRCPOOL}" -xtype f -name "*${SRCEXT}" -printf '%f\n' | sort
pushd "${SVNREPO}" >/dev/null
for repo in ${PKGREPOS[@]}; do
- failedpkgs=()
+ msg "Sourceballing [${repo}]"
pushd $repo >/dev/null
- find . -maxdepth 1 -type d | while read pkg; do
+ find -maxdepth 1 -type d | while read pkg; do
pushd "${SVNREPO}/$repo/$pkg" >/dev/null
[[ ! -e PKGBUILD ]] && {
@@ -54,18 +54,12 @@ for repo in ${PKGREPOS[@]}; do
makepkg --allsource --ignorearch -c >/dev/null 2>&1
- [ $? -ne 0 ] && failedpkgs+=("${srcfile}")
+ [ $? -ne 0 ] && plain ${srcfile}
- done
+ done # end find pkgs
popd >/dev/null
- if [ ${#failedpkgs[@]} -ge 1 ]; then
- msg "Failed to create source packages for [${repo}]..."
- for failed_pkg in ${failedpkgs[@]}; do
- msg2 "${failed_pkg}"
- done
- fi
-done
+done # end repos
# Cleanup old source packages
cat "${WORKDIR}/expected-src-pkgs" | sort -u > "${WORKDIR}/expected-src-pkgs.sort"