diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-07-28 17:37:46 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-07-28 17:37:46 +0000 |
commit | 1c023eb357632f1506d559ed54303ccee71ddf16 (patch) | |
tree | dca1ca0188db284c05ce322c2a135428b7c5b783 /BaseTools/BuildEnv | |
parent | d54934498fc69d456bf648068d20c8fd8453fca7 (diff) | |
download | edk2-platforms-1c023eb357632f1506d559ed54303ccee71ddf16.tar.xz |
BuildEnv: remove useless check before setting $WORKSPACE
As long as $EDK_TOOLS_PATH is properly set, the BaseTools/ directory
is not necessary in the workspace. The BuildEnv file itself suggests
setting the variable if BaseTools/ is not available.
However, this only works if the user also sets $WORKSPACE. Otherwise,
BuildEnv refuses to set WORKSPACE itself and does not even try to use
the preset $EDK_TOOLS_PATH. Remove the check that fails, as it does
not have any practical benefit.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15702 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/BuildEnv')
-rwxr-xr-x | BaseTools/BuildEnv | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/BaseTools/BuildEnv b/BaseTools/BuildEnv index 79f916a9d5..8ab5089bbe 100755 --- a/BaseTools/BuildEnv +++ b/BaseTools/BuildEnv @@ -23,14 +23,6 @@ SetWorkspace() { return 0 fi - if [ ! ${BASH_SOURCE[0]} -ef ./BaseTools/BuildEnv ] - then - echo Run this script from the base of your tree. For example: - echo " cd /Path/To/Edk/Root" - echo " . BaseTools/BuildEnv" - return 1 - fi - # # Set $WORKSPACE # |