[Fiware-tech-help] [Chp - IoT][IDAS] Fix the method used to load environment variables

David Muriel dmuriel at bitergia.com
Thu Oct 23 22:46:44 CEST 2014


The installation guide has instructions on the sections for
neoidas-monitbd and neoidas-bd to create a script with some export
statements to load some environment variables, then instructs the user
to execute that script in order to load those variables into the
current environment.

When using bash as shell (the default on most modern distributions),
executing the export statement on a script loads the variables on the
environment of the subshell spawned to run the script and not on the
environment of the current shell.  To load the variables on the
environment of the current shell, use the "." command (source
command):

. environment-variables.sh



More information about the Fiware-tech-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy