summaryrefslogtreecommitdiff
path: root/archco
diff options
context:
space:
mode:
authorIonut Biru <ionut@archlinux.ro>2009-11-22 00:00:51 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2010-01-11 13:41:04 -0800
commit0346db0ff79254e720d2da84ba60172fce8d1b76 (patch)
treef91079700fd6bfbd1b23837a3d2ffd9edf3406fa /archco
parenta1ede4dd4ba2682f408feddc118ad138e31d5b63 (diff)
add support for community svn
Signed-off-by: Ionut Biru <ionut@archlinux.ro> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'archco')
-rwxr-xr-xarchco5
1 files changed, 4 insertions, 1 deletions
diff --git a/archco b/archco
index 0dc1c4c..8d73c9b 100755
--- a/archco
+++ b/archco
@@ -5,6 +5,9 @@ if [ "$1" = "" ]; then
exit 1
fi
+url=$(svn info | grep URL)
+url="${url##*URL: }"
+
for i in "$@"; do
- svn co svn+ssh://gerolde.archlinux.org/srv/svn-packages/$i
+ svn co "$url/$i"
done