aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.common2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index 9d1312ef95..9d9676550e 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -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