BaseTools:Some build generated files content are not ordered on linux

If the WORKSPACE environment variable has been set,The variables that
control stable sorting will not be set.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
This commit is contained in:
Fan, ZhijuX 2019-02-21 13:18:18 +08:00 committed by Feng, Bob C
parent 2cfb9d0f1a
commit 95083f7db5
1 changed files with 1 additions and 1 deletions

View File

@ -49,6 +49,7 @@ function SetWorkspace()
#
# If WORKSPACE is already set, then we can return right now
#
export PYTHONHASHSEED=1
if [ -n "$WORKSPACE" ]
then
return 0
@ -77,7 +78,6 @@ function SetWorkspace()
# Set $WORKSPACE
#
export WORKSPACE=`pwd`
export PYTHONHASHSEED=1
return 0
}