Переглянути джерело

support for newer svnversion output string (https://trac.osgeo.org/grass/ticket/587)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@57674 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 11 роки тому
батько
коміт
7ce65c867e
2 змінених файлів з 2 додано та 2 видалено
  1. 1 1
      configure
  2. 1 1
      configure.in

+ 1 - 1
configure

@@ -1321,7 +1321,7 @@ fi
 
 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

+ 1 - 1
configure.in

@@ -130,7 +130,7 @@ GRASS_VERSION_SVN=
 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