The variable from the main space gets declared too late when we want to
initialize the variable in the module. Instead switch to use a function
that gets called on demand, which will have the available value at that
time. This removes the need to declare $VERSION in a BEGIN section, as
that is error-prone and easy to forget for new code.
Change-Id: I613698169dddd6d7ccf52b16a0ee9994e84b3543
(cherry picked from commit 2aeedad442)
mr7.5.4
parent
1996adb767
commit
e73efd5fd8
Loading…
Reference in new issue