add libtorrent fetch script

This commit is contained in:
Damien Churchill 2010-07-22 18:17:50 +01:00
parent c7fe1bdef5
commit 333d2f5562
1 changed files with 16 additions and 0 deletions

16
get_libtorrent.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
#
# This script checks out libtorrent from subversion
#
SVN=$(which svn)
LT_URL=https://libtorrent.svn.sourceforge.net/svnroot/libtorrent
VERSION=14
[ "$1" != "" ] && VERSION=$1
BRANCH=branches/RC_0_$VERSION
if [ -d libtorrent ]; then
$SVN up libtorrent
else
$SVN co $LT_URL/$BRANCH libtorrent
fi