summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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