[geos-commits] [SCM] GEOS branch master updated. 01243b0a0f2beb31e000660430e77a190006a6ef
git at osgeo.org
git at osgeo.org
Wed May 22 10:15:04 PDT 2019
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 01243b0a0f2beb31e000660430e77a190006a6ef (commit)
from 919112e1619508a64aace441624bf5b289b55fbf (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 01243b0a0f2beb31e000660430e77a190006a6ef
Author: Sandro Santilli <strk at kbt.io>
Date: Wed May 22 19:04:21 2019 +0200
Ensure astyle.sh appears in build tree too, and fix it
diff --git a/configure.ac b/configure.ac
index 8a6981a..e690548 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,6 +46,8 @@ AM_MAINTAINER_MODE
AC_CONFIG_HEADERS([include/config.h])
AC_PROG_CC
+AC_CONFIG_LINKS([tools/astyle.sh:tools/astyle.sh])
+
dnl -- JTS_PORT: the version of JTS this release is bound to
dnl JTS_PORT=1.13.0
JTS_PORT=`cat $VERTXT | awk -F= '/^JTS_PORT/ {print $2}'`
diff --git a/tools/astyle.sh b/tools/astyle.sh
index a31f4f3..beef9ee 100755
--- a/tools/astyle.sh
+++ b/tools/astyle.sh
@@ -1,7 +1,7 @@
#!/bin/sh
-cd `dirname $0`
-astyle/astyle \
+DIR=`dirname $0`
+${DIR}/astyle/astyle \
--style=stroustrup \
--unpad-paren \
--pad-header \
@@ -10,4 +10,4 @@ astyle/astyle \
--align-pointer=type \
--max-code-length=120 \
--lineend=linux \
- @$
+ $@
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 2 ++
tools/astyle.sh | 6 +++---
2 files changed, 5 insertions(+), 3 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list