File: get_libtorrent.sh

package info (click to toggle)
deluge 1.2.3%2Bgit20110209.8c36830-0squeeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 15,732 kB
  • ctags: 3,329
  • sloc: python: 17,807; sh: 91; makefile: 37
file content (16 lines) | stat: -rwxr-xr-x 313 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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