From: tweenk Date: Tue, 13 Jan 2009 02:35:00 +0000 (+0000) Subject: Do not fail when svn client is not installed and .svn directory is X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=04805e6d53e08c7c88647a5c4e0cb3ced7acf36d;p=inkscape.git Do not fail when svn client is not installed and .svn directory is present. --- 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"; \