Respect the shell's and svn's exit code when checking for a checkout.

svn-id: r48948
This commit is contained in:
Andre Heider 2010-05-04 22:55:07 +00:00
parent a753c9a411
commit 27e1681fea

View file

@ -169,7 +169,7 @@ VER_EXTRA = $(shell echo $(VERSION) | cut -d. -f 3 | cut -c2-)
# Get Subversion's working copy information
######################################################################
ifeq ($(shell LANG=C svn info $(srcdir) 2>&1 | grep "is not a working copy"),)
ifneq ($(shell svn info $(srcdir) 1>/dev/null 2>&1 || echo "error"),"error")
SVNROOT := $(srcdir)
ifeq ($(origin VER_SVNREV), undefined)
# Get the working copy base revision