Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/crossrepomove.in
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-06-15 12:04:07 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-15 12:04:07 -0600
commitfc25e189650a7ad6fb341487ac7fbb91aa6becfa (patch)
tree60768b7724be37b55672e76142e1ac54763737f0 /crossrepomove.in
parent47108a24dee698bcd43d83be24e204ccd27776a3 (diff)
parent8c4553f68cb1c01b24f4883db0032f646b2e77dd (diff)
Merge branch 'devtools'
Diffstat (limited to 'crossrepomove.in')
-rw-r--r--crossrepomove.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/crossrepomove.in b/crossrepomove.in
index b1204af..1d4ae6c 100644
--- a/crossrepomove.in
+++ b/crossrepomove.in
@@ -30,7 +30,6 @@ case $scriptname in
esac
server='nymeria.archlinux.org'
-mirror="http://${server}"
source_svn="svn+ssh://svn-${source_name}@${server}/srv/repos/svn-${source_name}/svn"
target_svn="svn+ssh://svn-${target_name}@${server}/srv/repos/svn-${target_name}/svn"
source_dbscripts="/srv/repos/svn-${source_name}/dbscripts"
@@ -55,10 +54,8 @@ for _arch in ${arch[@]}; do
fi
for _pkgname in ${pkgname[@]}; do
fullver=$(get_full_version $_pkgname)
- # FIXME: this only works with .xz packages
- ssh "${server}" "cd staging/${target_repo}
- curl -O ${mirror}/${source_repo}/os/${repo_arch}/$_pkgname-$fullver-${_arch}.pkg.tar.xz
- curl -O ${mirror}/${source_repo}/os/${repo_arch}/$_pkgname-$fullver-${_arch}.pkg.tar.xz.sig" || die
+ pkgpath="/srv/ftp/$source_repo/os/$repo_arch/$_pkgname-$fullver-${_arch}.pkg.tar.*"
+ ssh "$server" "cp $pkgpath staging/$target_repo" || die
done
done