summaryrefslogtreecommitdiff
path: root/archco
blob: 8d73c9b5b6f7cb1cfe2a2518e0c120b173829f09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

if [ "$1" = "" ]; then
	echo "Usage: archco <package name> [<package name>]"
	exit 1
fi

url=$(svn info | grep URL)
url="${url##*URL: }"

for i in "$@"; do
     svn co "$url/$i"
done