Fix #1912 : Exit nicely from get_libtorrent.sh if svn not installed

This commit is contained in:
ashirley 2011-11-20 14:56:28 +00:00 committed by Calum Lind
parent a3538c8937
commit 51802f7c54
1 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,11 @@ VERSION=14
[ "$1" != "" ] && VERSION=$1 [ "$1" != "" ] && VERSION=$1
BRANCH=branches/RC_0_$VERSION BRANCH=branches/RC_0_$VERSION
if [ -z $SVN ]; then
echo "Please install an 'svn' client"
exit 1
fi
if [ -d libtorrent ]; then if [ -d libtorrent ]; then
$SVN up libtorrent $SVN up libtorrent
else else