[GRASS-SVN] r57674 - grass/trunk

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Sep 13 21:58:47 PDT 2013


Author: hamish
Date: 2013-09-13 21:58:47 -0700 (Fri, 13 Sep 2013)
New Revision: 57674

Modified:
   grass/trunk/configure
   grass/trunk/configure.in
Log:
support for newer svnversion output string (#587)

Modified: grass/trunk/configure
===================================================================
--- grass/trunk/configure	2013-09-14 03:15:47 UTC (rev 57673)
+++ grass/trunk/configure	2013-09-14 04:58:47 UTC (rev 57674)
@@ -1321,7 +1321,7 @@
 
 if test "$SVN_VERSION" != "no" ; then
    GRASS_VERSION_SVN=`$SVN_VERSION -c | cut -f2 -d:`
-   if test "$GRASS_VERSION_SVN" = "exported" ; then
+   if test "$GRASS_VERSION_SVN" = "exported" -o "$GRASS_VERSION_SVN" = "Unversioned directory" ; then
       GRASS_VERSION_SVN=
    fi
 fi

Modified: grass/trunk/configure.in
===================================================================
--- grass/trunk/configure.in	2013-09-14 03:15:47 UTC (rev 57673)
+++ grass/trunk/configure.in	2013-09-14 04:58:47 UTC (rev 57674)
@@ -130,7 +130,7 @@
 AC_PATH_PROG(SVN_VERSION, svnversion, no)
 if test "$SVN_VERSION" != "no" ; then
    GRASS_VERSION_SVN=`$SVN_VERSION -c | cut -f2 -d:`
-   if test "$GRASS_VERSION_SVN" = "exported" ; then
+   if test "$GRASS_VERSION_SVN" = "exported" -o "$GRASS_VERSION_SVN" = "Unversioned directory" ; then
       GRASS_VERSION_SVN=
    fi
 fi



More information about the grass-commit mailing list