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 307ffe734a
commit 3dcfa5cfd8
1 changed files with 5 additions and 0 deletions

View File

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