From 04805e6d53e08c7c88647a5c4e0cb3ced7acf36d Mon Sep 17 00:00:00 2001 From: tweenk Date: Tue, 13 Jan 2009 02:35:00 +0000 Subject: [PATCH] Do not fail when svn client is not installed and .svn directory is present. --- src/Makefile_insert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile_insert b/src/Makefile_insert index 6eba8897d..305294392 100644 --- a/src/Makefile_insert +++ b/src/Makefile_insert @@ -318,7 +318,7 @@ libinkversion_a_SOURCES = inkscape-version.cpp # if it changes. Watch the backslashes! inkscape-version.cpp: VER_PREFIX="$(VERSION)"; \ - if test -x "$(srcdir)/.svn"; then \ + if test -x "$(srcdir)/.svn" -a ! -z `which svn`; then \ VER_SVNREV=" r`svn info $(srcdir) | sed -n -e '/^Revision:/s/Revision: \(.*\)/\1/p'`"; \ if test ! -z "`svn status -q $(srcdir)`"; then \ VER_CUSTOM=" custom"; \ -- 2.30.2