summaryrefslogtreecommitdiff
path: root/testing2x
diff options
context:
space:
mode:
Diffstat (limited to 'testing2x')
-rwxr-xr-xtesting2x10
1 files changed, 4 insertions, 6 deletions
diff --git a/testing2x b/testing2x
index 369857f..a76e972 100755
--- a/testing2x
+++ b/testing2x
@@ -20,12 +20,10 @@ declare -A pkgs
for pkgbase in $*; do
if [ ! -d "${WORKDIR}/${pkgbase}" ]; then
- arch_svn export -q "${SVNREPO}/${pkgbase}/repos" "${WORKDIR}/${pkgbase}" >/dev/null
-
found_source=false
for pkgarch in ${ARCHES[@]} 'any'; do
- svnrepo_from="${WORKDIR}/${pkgbase}/${TESTING_REPO}-${pkgarch}"
- if [ -r "${svnrepo_from}/PKGBUILD" ]; then
+ xbsrepo_from="$(xbs releasepath ${pkgbase} ${TESTING_REPO} ${pkgarch})"
+ if [ -r "${xbsrepo_from}/PKGBUILD" ]; then
found_source=true
break
fi
@@ -34,8 +32,8 @@ for pkgbase in $*; do
found_target=false
for pkgarch in ${ARCHES[@]} 'any'; do
for repo in ${STABLE_REPOS[@]}; do
- svnrepo_to="${WORKDIR}/${pkgbase}/${repo}-${pkgarch}"
- if [ -r "${svnrepo_to}/PKGBUILD" ]; then
+ xbsrepo_to="$(xbs releasepath ${pkgbase} ${repo} ${pkgarch})"
+ if [ -r "${xbsrepo_to}/PKGBUILD" ]; then
found_target=true
pkgs[${repo}]+="${pkgbase} "
break 2