summaryrefslogtreecommitdiffstats
path: root/BaseTools/BinWrappers/PosixLike/PatchPcdValue
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/BinWrappers/PosixLike/PatchPcdValue')
-rwxr-xr-xBaseTools/BinWrappers/PosixLike/PatchPcdValue2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/BinWrappers/PosixLike/PatchPcdValue b/BaseTools/BinWrappers/PosixLike/PatchPcdValue
index 214d88fff1..01ae23ddeb 100755
--- a/BaseTools/BinWrappers/PosixLike/PatchPcdValue
+++ b/BaseTools/BinWrappers/PosixLike/PatchPcdValue
@@ -10,5 +10,5 @@ full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a d
dir=$(dirname "$full_cmd")
cmd=${full_cmd##*/}
-export PYTHONPATH="$dir/../../Source/Python"
+export PYTHONPATH="$dir/../../Source/Python${PYTHONPATH:+:"$PYTHONPATH"}"
exec "${python_exe:-python}" "$dir/../../Source/Python/$cmd/$cmd.py" "$@"