]> git.proxmox.com Git - mirror_edk2.git/blobdiff - edksetup.sh
BaseTools: Library hashing fix and optimization for --hash feature
[mirror_edk2.git] / edksetup.sh
index ed9ceae85d71eeb0e61acb17ed874fa93f981807..c7b2e1e2010aa46af1332c85281df9d0ca9bf68f 100755 (executable)
@@ -177,22 +177,11 @@ function SetupPython()
   SetupPython3
 }
 
-function TestUtilModule()
-{
-  if ( $PYTHON_COMMAND -c "import distutils.util" >/dev/null 2>&1 );then
-    return 1
-  else
-    echo Error: "No module named 'distutils.util"
-    return 0
-  fi
-}
-
 function SourceEnv()
 {
   SetWorkspace &&
-  SetupEnv &&
-  SetupPython &&
-  TestUtilModule
+  SetupEnv
+  SetupPython
 }
 
 I=$#