[arch-dev-public] [PATCH] sourceballs: Fixed kde-unstable repo support
Eric Bélanger
snowmaniscool at gmail.com
Tue Dec 14 03:43:16 EST 2010
Signed-off-by: Eric Bélanger <snowmaniscool at gmail.com>
---
cron-jobs/sourceballs | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs
index 6553327..0486c48 100755
--- a/cron-jobs/sourceballs
+++ b/cron-jobs/sourceballs
@@ -79,8 +79,13 @@ for repo in ${PKGREPOS[@]}; do
# Get the sources from svn
mkdir -p "${WORKDIR}/pkgbuilds/${repo}-${pkgarch}"
- svn export -q "${SVNREPO}/${pkgbase}/repos/${repo}-${pkgarch}" \
- "${WORKDIR}/pkgbuilds/${repo}-${pkgarch}/${pkgbase}" >/dev/null 2>&1
+ if ["${repo}" == 'kde-unstable' ]; then
+ svn export -q "${SVNREPO}/${pkgbase}/${repo}" \
+ "${WORKDIR}/pkgbuilds/${repo}-${pkgarch}/${pkgbase}" >/dev/null 2>&1
+ else
+ svn export -q "${SVNREPO}/${pkgbase}/repos/${repo}-${pkgarch}" \
+ "${WORKDIR}/pkgbuilds/${repo}-${pkgarch}/${pkgbase}" >/dev/null 2>&1
+ fi
if [ $? -ge 1 ]; then
failedpkgs[${#failedpkgs[*]}]="${pkgbase}-${pkgver}${SRCEXT}"
continue
--
1.7.3.3
More information about the arch-dev-public
mailing list