From 3dcfa5cfd8a52f1dfaae62a78e0c41cbee6558db 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 84f44b486..a736589e5 100755 --- a/get_libtorrent.sh +++ b/get_libtorrent.sh @@ -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