summaryrefslogtreecommitdiffstats
path: root/cron-jobs
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-10-07 15:41:03 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-05-27 15:46:05 +0200
commit3aab49eb698b9697109e8efd22294a4bc3b811d4 (patch)
tree21d0580fd6d32e54fafff57b78b5c3b6075ce6cb /cron-jobs
parent83350c1fd555fb474a0572f639cc8364260f180a (diff)
downloaddbscripts-3aab49eb698b9697109e8efd22294a4bc3b811d4.tar.gz
dbscripts-3aab49eb698b9697109e8efd22294a4bc3b811d4.tar.xz
make tests.d/ftpdir-cleanup work
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'cron-jobs')
-rwxr-xr-xcron-jobs/sourceballs6
1 files changed, 2 insertions, 4 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs
index 4126c37..2744be8 100755
--- a/cron-jobs/sourceballs
+++ b/cron-jobs/sourceballs
@@ -77,10 +77,8 @@ for repo in ${PKGREPOS[@]}; do
continue
fi
- # Get the sources from svn
- mkdir -p -m0770 "${WORKDIR}/pkgbuilds/${repo}-${pkgarch}"
- arch_svn export -q "${SVNREPO}/${pkgbase}/repos/${repo}-${pkgarch}" \
- "${WORKDIR}/pkgbuilds/${repo}-${pkgarch}/${pkgbase}" >/dev/null 2>&1
+ get_dir_from_pkgrepo "${pkgbase}" "${pkgver}" "" \
+ "${WORKDIR}/pkgbuilds/${repo}-${pkgarch}/${pkgbase}"
if [ $? -ge 1 ]; then
failedpkgs[${#failedpkgs[*]}]="${pkgbase}-${pkgver}${SRCEXT}"
continue