[geos-commits] r4035 - trunk/tools

svn_geos at osgeo.org svn_geos at osgeo.org
Wed Nov 12 08:42:32 PST 2014


Author: strk
Date: 2014-11-12 08:42:32 -0800 (Wed, 12 Nov 2014)
New Revision: 4035

Modified:
   trunk/tools/svn_repo_revision.sh
Log:
Fix revision extracter for calls from external build dir

Modified: trunk/tools/svn_repo_revision.sh
===================================================================
--- trunk/tools/svn_repo_revision.sh	2014-11-12 12:08:32 UTC (rev 4034)
+++ trunk/tools/svn_repo_revision.sh	2014-11-12 16:42:32 UTC (rev 4035)
@@ -29,7 +29,7 @@
     echo 0;
   fi
 
-  rev=`${git_exe} log --grep=git-svn -1 | grep git-svn | cut -d@ -f2 | cut -d' ' -f1`
+  rev=`cd ${top_srcdir} && ${git_exe} log --grep=git-svn -1 | grep git-svn | cut -d@ -f2 | cut -d' ' -f1`
 
   if test -z "$rev"; then
     echo "Can't fetch SVN revision from git log" >&2 



More information about the geos-commits mailing list