devstack/inc
Sean Dague eabe1e828c Make declared variables global
When variables use the 'declare' directive, it is by default a local
variable. While other variables have global scope.

For example:
   declare -A AN_ARRAY   # local in scope
   foo=1                 # global in scope

This causes errors to occur as some of the variables will be local only
and others will be global.

Update the code, as appropriate, so that variables using the 'declare'
directive also include the '-g' flag to have them also be global. Not
every instance of a declared variable has been updated.

Conflicts:
    lib/neutron
    lib/neutron-legacy

Closes-Bug: #1669509
Co-Authored-By: John L. Villalovos <john.l.villalovos@intel.com>
Change-Id: I2180b68fe861ad19c6d4ec0df0f9f8a528347862
(cherry picked from commit afef8bf097)
2017-03-09 06:24:56 -08:00
..
ini-config add local.conf modifying functions 2016-07-01 12:50:18 +00:00
meta-config meta-config: Fix consecutive same sections 2016-11-29 04:27:05 +00:00
python Make declared variables global 2017-03-09 06:24:56 -08:00
rootwrap Fix path setup in add_sudo_secure_path 2015-12-01 13:43:01 +11:00