fix export url for trunk
authorRegina Obe <lr@pcorp.us>
Thu, 28 Dec 2017 08:05:54 +0000 (08:05 +0000)
committerRegina Obe <lr@pcorp.us>
Thu, 28 Dec 2017 08:05:54 +0000 (08:05 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16192 b70326c6-7e19-0410-871a-916f4a2858ee

ci/winnie/package_postgis.sh

index 92d68ae9fca251119a8d84c7533392a665054d68..b06eadeb6276085cb1cf4e5b78bed124eb0870b0 100644 (file)
@@ -58,7 +58,7 @@ else
        export svnurl="http://svn.osgeo.org/postgis/tags/${POSTGIS_MINOR_VER}.${POSTGIS_MICRO_VERSION}"
 fi;
 
-if [[ "$POSTGIS_MINOR_VER"  == 2.3 ]] ; then
+if [[ "$reference"  == *trunk*]] ; then
        export svnurl="http://svn.osgeo.org/postgis/trunk"
 fi;
 #export POSTGIS_SRC=${PROJECTS}/postgis/trunk