From 51802f7c54145cd7113e98c0043abc5cd65cf6eb Mon Sep 17 00:00:00 2001 From: ashirley Date: Sun, 20 Nov 2011 14:56:28 +0000 Subject: [PATCH] Fix #1912 : Exit nicely from get_libtorrent.sh if svn not installed --- get_libtorrent.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/get_libtorrent.sh b/get_libtorrent.sh index 466558d85..d0959200f 100755 --- a/get_libtorrent.sh +++ b/get_libtorrent.sh @@ -9,6 +9,11 @@ VERSION=14 [ "$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