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