summaryrefslogtreecommitdiffstats
path: root/edksetup.sh
diff options
context:
space:
mode:
authorFan, ZhijuX <zhijux.fan@intel.com>2019-02-21 13:18:18 +0800
committerFeng, Bob C <bob.c.feng@intel.com>2019-02-22 15:47:15 +0800
commit95083f7db57fd5669e7e4c3fa0297e8ff2039562 (patch)
treeda47a786cc887e9d32b4a9d81fd3c68310099f62 /edksetup.sh
parent2cfb9d0f1a10546d15bcf9979407988fc6904bd6 (diff)
downloadedk2-95083f7db57fd5669e7e4c3fa0297e8ff2039562.tar.gz
edk2-95083f7db57fd5669e7e4c3fa0297e8ff2039562.tar.bz2
edk2-95083f7db57fd5669e7e4c3fa0297e8ff2039562.zip
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>
Diffstat (limited to 'edksetup.sh')
-rwxr-xr-xedksetup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/edksetup.sh b/edksetup.sh
index a8897d10f8..39f62a29bd 100755
--- a/edksetup.sh
+++ b/edksetup.sh
@@ -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
}