Handle the case of a user who has svk but hasn't configured it. (#347403)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14489 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2006-07-12 19:50:44 +00:00
parent 4ecc011749
commit 68400b50f6

View File

@ -47,7 +47,9 @@ which svk >/dev/null 2>&1
if test $? != 0 ; then exit 1 ; fi
# Okay, we have 'svk'. Now see if $real_srcdir is an svk checkout
svkinfo=`svk info "$real_srcdir" 2>&1`
# Note that the 'echo n' is to protect against having svk installed
# without having configured the depotmap.
svkinfo=`echo n | svk info "$real_srcdir" 2>&1`
if test $? != 0 ; then exit 1 ; fi
# If we got here, then $real_srcdir is an svk checkout. Parse out