From 4a559d58d376d7d40f97e500aa336c5ee4b7a18a Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Fri, 14 Jun 2019 22:52:39 +0000 Subject: [PATCH] Fix error in bash preventing building git-svn-id: http://svn.osgeo.org/postgis/trunk@17535 b70326c6-7e19-0410-871a-916f4a2858ee --- ci/winnie/build_postgis.sh | 2 +- ci/winnie/package_postgis.sh | 19 +++++++------------ 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/ci/winnie/build_postgis.sh b/ci/winnie/build_postgis.sh index b655f851e..10652ab0a 100644 --- a/ci/winnie/build_postgis.sh +++ b/ci/winnie/build_postgis.sh @@ -1,6 +1,6 @@ #!/bin/bash set -e -if [[ "${OVERRIDE}" == '' ]] ; +if [[ "${OVERRIDE}" == '' ]] ; then export SFCGAL_VER=1.3.2 export GEOS_VER=3.7.1 export GDAL_VER=2.2.4 diff --git a/ci/winnie/package_postgis.sh b/ci/winnie/package_postgis.sh index ccc982a4b..cccbdcda4 100644 --- a/ci/winnie/package_postgis.sh +++ b/ci/winnie/package_postgis.sh @@ -14,7 +14,7 @@ #export GCC_TYPE= #if no override is set - use these values #otherwise use the ones jenkins passes thru -if [[ "${OVERRIDE}" == '' ]] ; +if [[ "${OVERRIDE}" == '' ]] ; then export GEOS_VER=3.8 export GDAL_VER=2.2.4 export PROJ_VER=4.9.3 @@ -27,16 +27,11 @@ fi; export PCRE_VER=8.33 -if [[ "${GCC_TYPE}" == *gcc48* ]] ; then - export PROJECTS=/projects - export MINGPROJECTS=/projects - export PATHOLD=$PATH -else - export PROJECTS=/projects - export MINGPROJECTS=/projects - export PATHOLD=$PATH - #export JSON_VER=0.9 -fi; + +export PROJECTS=/projects +export MINGPROJECTS=/projects +export PATHOLD=$PATH + export PGHOST=localhost @@ -103,7 +98,7 @@ mkdir $outdir/bin/postgisgui mkdir $outdir/bin/postgisgui/share mkdir $outdir/bin/postgisgui/lib mkdir $outdir/utils -cp ${MINGPROJECTS}/rel-libiconv-${ICON_VER}w${OS_BUILD}${GCC_TYPE}/bin/*.dll $outdir/bin/postgisgui +cp ${PROJECTS}/rel-libiconv-${ICON_VER}w${OS_BUILD}${GCC_TYPE}/bin/*.dll $outdir/bin/postgisgui # it seems 9.2 and 9.3 doesn't come with its own libiconv good grief # and trying to use their libiconv2.dll makes shp2pgsql crash if [[ "$PG_VER" == *9.2* || "$PG_VER" == *9.3* ]]; then -- 2.40.0