From 333d2f5562dad0a31d921920096edb7f5dc45b24 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Thu, 22 Jul 2010 18:17:50 +0100 Subject: [PATCH] add libtorrent fetch script --- get_libtorrent.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 get_libtorrent.sh diff --git a/get_libtorrent.sh b/get_libtorrent.sh new file mode 100755 index 000000000..466558d85 --- /dev/null +++ b/get_libtorrent.sh @@ -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