diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2017-05-03 15:31:58 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2017-05-05 17:26:58 +0800 |
commit | 34816e7e16c4c337888d2518222268096f67c4fc (patch) | |
tree | 2028109d5f873a11b6cdda45076a5c541911af49 | |
parent | 717ba86de74f2970d57ac68616a5a8e86cf4770f (diff) | |
download | edk2-34816e7e16c4c337888d2518222268096f67c4fc.zip edk2-34816e7e16c4c337888d2518222268096f67c4fc.tar.gz edk2-34816e7e16c4c337888d2518222268096f67c4fc.tar.bz2 |
BaseTools: remove the hardcoded /bin/bash for PreBuild/PostBuild
This patch remove the hardcoded /bin/bash for PreBuild/PostBuild
scripts.
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
-rw-r--r-- | BaseTools/Source/Python/build/build.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/build/build.py b/BaseTools/Source/Python/build/build.py index 45ccac1..bd14e27 100644 --- a/BaseTools/Source/Python/build/build.py +++ b/BaseTools/Source/Python/build/build.py @@ -1039,7 +1039,7 @@ class Build(): Process = Popen(args, stdout=PIPE, stderr=PIPE)
else:
args = ' && '.join((self.Prebuild, 'env > ' + PrebuildEnvFile))
- Process = Popen(args, stdout=PIPE, stderr=PIPE, shell=True, executable="/bin/bash")
+ Process = Popen(args, stdout=PIPE, stderr=PIPE, shell=True)
# launch two threads to read the STDOUT and STDERR
EndOfProcedure = Event()
@@ -1081,7 +1081,7 @@ class Build(): if sys.platform == "win32":
Process = Popen(self.Postbuild, stdout=PIPE, stderr=PIPE)
else:
- Process = Popen(self.Postbuild, stdout=PIPE, stderr=PIPE, shell=True, executable="/bin/bash")
+ Process = Popen(self.Postbuild, stdout=PIPE, stderr=PIPE, shell=True)
# launch two threads to read the STDOUT and STDERR
EndOfProcedure = Event()
EndOfProcedure.clear()
|