[postgis-tickets] r16384 - move library version declare into shared script -- with plans to eventually have postgres start/stop from script as well.

Sandro Santilli strk at kbt.io
Mon Feb 19 13:01:14 PST 2018


On Mon, Feb 19, 2018 at 09:39:57AM +0000, Regina Obe wrote:
>  
> -export GEOS_VER=3.7.0dev
> -export GDAL_VER=2.2.3
> -export PROJ_VER=4.9.3
> -export SFCGAL_VER=1.3.2
> -export PCRE_VER=8.33
> -export PROTOBUF_VER=3.2.0
> -export PROTOBUFC_VER=1.2.1
> -export CGAL_VER=4.11
> +bash lib_envs.sh

I dubt the above would work.
You' want to use "source":

    source lib_envs.sh

Also known as `.':

    . lib_envs.sh

Otherwise all those variables would
be exported in the environment of the sub-process
you start (bash), which dies immediately after.

--strk;


More information about the postgis-tickets mailing list