[geos-commits] [SCM] GEOS branch master updated. c263a0f712917fc523a3d30e00143bd0835ee744
git at osgeo.org
git at osgeo.org
Tue Feb 18 23:36:57 PST 2020
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 c263a0f712917fc523a3d30e00143bd0835ee744 (commit)
from fa27712c5fbe933c507a2652512b894820c0f290 (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 c263a0f712917fc523a3d30e00143bd0835ee744
Author: Sandro Santilli <strk at kbt.io>
Date: Wed Feb 19 08:36:19 2020 +0100
Recover POSIX compliancy for geos-config, and fix exec_prefix
References #1015
diff --git a/tools/geos-config.in b/tools/geos-config.in
index dfb9deb..89de835 100644
--- a/tools/geos-config.in
+++ b/tools/geos-config.in
@@ -1,8 +1,14 @@
-#!/bin/bash -e
+#!/bin/sh
# escape paths
-prefix=$(printf %q "@prefix@")
-libdir=$(printf %q "@libdir@")
+escape() {
+ echo "$1" | sed 's/ /\\ /g'
+}
+
+prefix=`escape "@prefix@"`
+# exec_prefix is interpolated in @libdir@
+exec_prefix=`escape "@exec_prefix@"`
+libdir=`escape "@libdir@"`
usage()
{
-----------------------------------------------------------------------
Summary of changes:
tools/geos-config.in | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list