]> granicus.if.org Git - postgis/commitdiff
try to fix issue with if condition
authorRegina Obe <lr@pcorp.us>
Mon, 1 Jan 2018 19:13:31 +0000 (19:13 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 1 Jan 2018 19:13:31 +0000 (19:13 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16202 b70326c6-7e19-0410-871a-916f4a2858ee

ci/winnie/package_postgis.sh

index b06eadeb6276085cb1cf4e5b78bed124eb0870b0..ea8981ce7746fae531b993ab3d8c858f7a27d027 100644 (file)
@@ -51,15 +51,15 @@ export POSTGIS_MICRO_VER=${POSTGIS_MICRO_VERSION}
 
 if [[ "$POSTGIS_MICRO_VERSION"  == *SVN* || "$POSTGIS_MICRO_VERSION"  == *dev* ]] ; then
        export POSTGIS_SRC=${PROJECTS}/postgis/branches/${POSTGIS_MINOR_VER}
-       export svnurl="http://svn.osgeo.org/postgis/branches/${POSTGIS_MINOR_VER}"
+       export svnurl="https://svn.osgeo.org/postgis/branches/${POSTGIS_MINOR_VER}"
 else
        #tagged version -- official release
        export POSTGIS_SRC=${PROJECTS}/postgis/tags/${POSTGIS_MINOR_VER}.${POSTGIS_MICRO_VERSION}
-       export svnurl="http://svn.osgeo.org/postgis/tags/${POSTGIS_MINOR_VER}.${POSTGIS_MICRO_VERSION}"
+       export svnurl="https://svn.osgeo.org/postgis/tags/${POSTGIS_MINOR_VER}.${POSTGIS_MICRO_VERSION}"
 fi;
 
-if [[ "$reference"  == *trunk*]] ; then
-       export svnurl="http://svn.osgeo.org/postgis/trunk"
+if [[ "$reference"  == *trunk* ]] ; then
+       export svnurl="https://svn.osgeo.org/postgis/trunk"
 fi;
 #export POSTGIS_SRC=${PROJECTS}/postgis/trunk
 #POSTGIS_SVN_REVISION=will_be_passed_in_by_bot