[geos-commits] [SCM] GEOS branch master updated. a67b6f8656ede68317d0a42e9b8a9e078281684a

git at osgeo.org git at osgeo.org
Thu Oct 4 07:36:35 PDT 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".

The branch, master has been updated
       via  a67b6f8656ede68317d0a42e9b8a9e078281684a (commit)
      from  891707f3348fd968c344b61b456546936976a8c8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a67b6f8656ede68317d0a42e9b8a9e078281684a
Author: Sandro Santilli <strk at kbt.io>
Date:   Thu Oct 4 16:36:16 2018 +0200

    Fix skipping override of unchanged geos_revision.h

diff --git a/tools/repo_revision.sh b/tools/repo_revision.sh
index 79d1cf0..09b6d4e 100755
--- a/tools/repo_revision.sh
+++ b/tools/repo_revision.sh
@@ -78,7 +78,7 @@ write_defn() {
   # Do not override the file if new detected
   # revision isn't zero nor different from the existing one
   if test -f $rev_file; then
-    oldrev=`grep GEOS_REVISION ${rev_file} | awk '{print $2}'`
+    oldrev=`grep GEOS_REVISION ${rev_file} | awk '{print $3}' | tr -d '"'`
     if test "$rev" = 0 -o "$rev" = "$oldrev"; then
       echo "Not updating existing rev file at $oldrev" >&2
       return;

-----------------------------------------------------------------------

Summary of changes:
 tools/repo_revision.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list