[Scummvm-cvs-logs] SF.net SVN: scummvm:[48948] scummvm/trunk/Makefile.common

dhewg at users.sourceforge.net dhewg at users.sourceforge.net
Wed May 5 00:55:08 CEST 2010


Revision: 48948
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48948&view=rev
Author:   dhewg
Date:     2010-05-04 22:55:07 +0000 (Tue, 04 May 2010)

Log Message:
-----------
Respect the shell's and svn's exit code when checking for a checkout.

Modified Paths:
--------------
    scummvm/trunk/Makefile.common

Modified: scummvm/trunk/Makefile.common
===================================================================
--- scummvm/trunk/Makefile.common	2010-05-04 21:36:13 UTC (rev 48947)
+++ scummvm/trunk/Makefile.common	2010-05-04 22:55:07 UTC (rev 48948)
@@ -169,7 +169,7 @@
 # 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


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list