Respect the shell's and svn's exit code when checking for a checkout.
svn-id: r48948
This commit is contained in:
parent
a753c9a411
commit
27e1681fea
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue