diff options
Diffstat (limited to 'edksetup.sh')
-rwxr-xr-x | edksetup.sh | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/edksetup.sh b/edksetup.sh index ed9ceae85d..c7b2e1e201 100755 --- a/edksetup.sh +++ b/edksetup.sh @@ -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=$# |