summaryrefslogtreecommitdiffstats
path: root/archco
diff options
context:
space:
mode:
authorJason Chu <jchu@xentac.net>2008-04-06 03:50:50 +0200
committerJason Chu <jchu@xentac.net>2008-04-06 03:50:50 +0200
commit38dc2efcd5984056bdd6618af83618e28abfa64b (patch)
treecff05ed4c762ecdc67f3f923f49818d98dc4c05d /archco
parenta78c8f2cb907e84f4865fe57383b20fd402b9297 (diff)
downloaddevtools-0.6.tar.gz
devtools-0.6.tar.xz
Accept multiple package names to checkout with archco0.6
Diffstat (limited to 'archco')
-rwxr-xr-xarchco6
1 files changed, 4 insertions, 2 deletions
diff --git a/archco b/archco
index 817e4bd..52c20c8 100755
--- a/archco
+++ b/archco
@@ -1,8 +1,10 @@
#!/bin/bash
if [ "$1" = "" ]; then
- echo "Usage: archco <package name>"
+ echo "Usage: archco <package name> [<package name>]"
exit 1
fi
-svn co svn+ssh://svn.archlinux.org/home/svn-packages/$1
+for i in "$@"; do
+ svn co svn+ssh://svn.archlinux.org/home/svn-packages/$i
+done