diff --git a/BaseTools/toolsetup.bat b/BaseTools/toolsetup.bat index b58560d4d7..1cac3105c2 100755 --- a/BaseTools/toolsetup.bat +++ b/BaseTools/toolsetup.bat @@ -274,6 +274,7 @@ goto check_build_environment echo. :check_build_environment + set PYTHONHASHSEED=0 if defined BASETOOLS_PYTHON_SOURCE goto VisualStudioAvailable if not defined BASE_TOOLS_PATH ( diff --git a/edksetup.sh b/edksetup.sh index 93d6525758..3dee8c5d61 100755 --- a/edksetup.sh +++ b/edksetup.sh @@ -77,7 +77,7 @@ function SetWorkspace() # Set $WORKSPACE # export WORKSPACE=`pwd` - + export PYTHONHASHSEED=0 return 0 }