Fix #1912 : Exit nicely from get_libtorrent.sh if svn not installed
This commit is contained in:
parent
307ffe734a
commit
3dcfa5cfd8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue