From 68400b50f617fb1452ab6696d6e3c05be5bbe7d1 Mon Sep 17 00:00:00 2001 From: Derek Atkins Date: Wed, 12 Jul 2006 19:50:44 +0000 Subject: [PATCH] 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 --- util/gnc-svnversion | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/util/gnc-svnversion b/util/gnc-svnversion index 11eeb30245..549daa0986 100755 --- a/util/gnc-svnversion +++ b/util/gnc-svnversion @@ -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