]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/build/build.py
BaseTools: remove the hardcoded /bin/bash for PreBuild/PostBuild
[mirror_edk2.git] / BaseTools / Source / Python / build / build.py
index 45ccac1e139367961344c69e8798f7f7c19a5dc3..bd14e273d299b7aa31c2e3b9e68aec9a70e53c0d 100644 (file)
@@ -1039,7 +1039,7 @@ class Build():
                 Process = Popen(args, stdout=PIPE, stderr=PIPE)\r
             else:\r
                 args = ' && '.join((self.Prebuild, 'env > ' + PrebuildEnvFile))\r
-                Process = Popen(args, stdout=PIPE, stderr=PIPE, shell=True, executable="/bin/bash")\r
+                Process = Popen(args, stdout=PIPE, stderr=PIPE, shell=True)\r
 \r
             # launch two threads to read the STDOUT and STDERR\r
             EndOfProcedure = Event()\r
@@ -1081,7 +1081,7 @@ class Build():
             if sys.platform == "win32":\r
                 Process = Popen(self.Postbuild, stdout=PIPE, stderr=PIPE)\r
             else:\r
-                Process = Popen(self.Postbuild, stdout=PIPE, stderr=PIPE, shell=True, executable="/bin/bash")\r
+                Process = Popen(self.Postbuild, stdout=PIPE, stderr=PIPE, shell=True)\r
             # launch two threads to read the STDOUT and STDERR\r
             EndOfProcedure = Event()\r
             EndOfProcedure.clear()\r