diff options
author | Siri Hansen <[email protected]> | 2018-05-04 15:01:54 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-05-04 15:01:54 +0200 |
commit | a178e9545725455d064efd3f039c5052918544d5 (patch) | |
tree | 881dc8ce740413a2034605d6e86cf59fc86b4289 /lib/runtime_tools/vsn.mk | |
parent | a8ede33f9a51c1566ccb38df0056c3e1f092b970 (diff) | |
download | otp-a178e9545725455d064efd3f039c5052918544d5.tar.gz otp-a178e9545725455d064efd3f039c5052918544d5.tar.bz2 otp-a178e9545725455d064efd3f039c5052918544d5.zip |
Don't save included_applications as application environment variable
During application load, the included_applications key from the .app
file would earlier be duplicated as an application environment
variable. Due to this, its value could be retrieved in any of the
following ways:
application:get_key(App,included_applications).
application:get_env(App,included_applications).
It would also be included in the resulting list from the following calls:
application:get_all_key(App).
application:get_all_env(App).
This commit removes the duplication, and included_applications will no
longer be returned by application:get_env/2 or application:get_all_env/1.
The reason for this change is mainly to avoid confusion, but also to
avoid the potensial inconsistency which would occur if the environment
variable was changed during runtime by calls to
application:put_env(App,included_applications,NewInclApps).
Diffstat (limited to 'lib/runtime_tools/vsn.mk')
0 files changed, 0 insertions, 0 deletions