diff options
author | Andre Heider | 2010-05-04 22:55:07 +0000 |
---|---|---|
committer | Andre Heider | 2010-05-04 22:55:07 +0000 |
commit | 27e1681fea7b251fc006673c020ae5af152e6aa8 (patch) | |
tree | 3424ffb0dcef11cc0b45adb7933b2419ff5c6bfa /Makefile.common | |
parent | a753c9a411ba475398d8c9d875a61269e2864b77 (diff) | |
download | scummvm-rg350-27e1681fea7b251fc006673c020ae5af152e6aa8.tar.gz scummvm-rg350-27e1681fea7b251fc006673c020ae5af152e6aa8.tar.bz2 scummvm-rg350-27e1681fea7b251fc006673c020ae5af152e6aa8.zip |
Respect the shell's and svn's exit code when checking for a checkout.
svn-id: r48948
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 2 |
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 |