]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools:Some build generated files content are not ordered on linux
authorFan, ZhijuX <zhijux.fan@intel.com>
Thu, 21 Feb 2019 05:18:18 +0000 (13:18 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Fri, 22 Feb 2019 07:47:15 +0000 (15:47 +0800)
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>
edksetup.sh

index a8897d10f80d28144155033ea3e0dbd7e30349e0..39f62a29bda4c766fc22b3220553f7bdb63e91a7 100755 (executable)
@@ -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
 }