]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/toolsetup: Do not set CONF_PATH when already set.
authorMarvin Haeuser <Marvin.Haeuser@outlook.com>
Wed, 20 Jul 2016 15:02:27 +0000 (23:02 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Tue, 26 Jul 2016 02:42:09 +0000 (10:42 +0800)
commit1f2cd65297f973181f02889a94cad5bb9276bb29
tree1273942301dedf6449fc23095e70c9af09f4f91c
parent03630a81488ca30c384c09034caa1a70afb80a0d
BaseTools/toolsetup: Do not set CONF_PATH when already set.

When CONF_PATH is already set, toolsetup.bat overwrites its value.
This is not the case on Linux platforms (BuildEnv) and
contra-productive when using the same Workspace across multiple
Operating Systems.
With this patch, a check is performed prior to setting the variable.
Furthermore, it will not be scanned for Conf directories in
PACKAGES_PATH directories to respect the user's choice.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
BaseTools/toolsetup.bat