diff options
author | Jason1 Lin <jason1.lin@intel.com> | 2024-10-08 22:04:11 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-10-17 06:53:34 +0000 |
commit | e19cc32bce466fb1c175f7d44708c2ebb45802a7 (patch) | |
tree | 8954a9ef2cbbc4c4b12fe3dbf179471262d1b70f /MdePkg | |
parent | b7342074a649599078553e33acd6d7a79e950683 (diff) | |
download | edk2-e19cc32bce466fb1c175f7d44708c2ebb45802a7.tar.gz edk2-e19cc32bce466fb1c175f7d44708c2ebb45802a7.tar.bz2 edk2-e19cc32bce466fb1c175f7d44708c2ebb45802a7.zip |
edksetup.sh: Fix the Issue of PYTHON_COMMAND Un-Configurable
- With the commit e6447d2a08f5ca585816d093e79a01dad3781f98 introduced,
there do not have chance for caller to configure the PYTHON_COMMAND
environment variable outside of this script.
- All the configured value would be assigned into "python3" forcedly,
without checking the environment variable is set or not.
- This patch included the below changes,
- Check the "PYTHON_COMMAND" is set or not before assigning
the default value "python3" on it.
- Rename the function naming into "SetupPythonCommand" to align
its functionality.
Signed-off-by: Jason1 Lin <jason1.lin@intel.com>
Diffstat (limited to 'MdePkg')
0 files changed, 0 insertions, 0 deletions