]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Correct bin wrappers for GenDepex.py path
authorYonghong Zhu <yonghong.zhu@intel.com>
Mon, 19 Dec 2016 02:52:20 +0000 (10:52 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Tue, 20 Dec 2016 01:15:38 +0000 (09:15 +0800)
The WindowsLike and PosixLike bin wrappers for GenDepex.py do not use
correct path. GenDepex.py is not in a GenDepex directory. Instead, it is
in the AutoGen directory.

Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=292
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/BinWrappers/PosixLike/GenDepex
BaseTools/BinWrappers/WindowsLike/GenDepex.bat

index 214d88fff1b15a998a523628d97ecbb8d93a2e1a..bdb6722a1f8411a6a429053109cbaae5df459321 100755 (executable)
@@ -11,4 +11,4 @@ dir=$(dirname "$full_cmd")
 cmd=${full_cmd##*/}
 
 export PYTHONPATH="$dir/../../Source/Python"
-exec "${python_exe:-python}" "$dir/../../Source/Python/$cmd/$cmd.py" "$@"
+exec "${python_exe:-python}" "$dir/../../Source/Python/AutoGen/$cmd.py" "$@"
index 9fbb704a6eb00baca50f39f0cc3fa6b9d30525f3..ffc783d2bebf1930b1f194d68f7e87a98488a20d 100644 (file)
@@ -1,3 +1,3 @@
 @setlocal\r
 @set ToolName=%~n0%\r
-@%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %*\r
+@%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\AutoGen\%ToolName%.py %*\r