diff options
author | lhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-31 19:57:24 +0300 |
---|---|---|
committer | lhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-31 19:57:24 +0300 |
commit | 3a6b4559e5182bd50a2f1de5abe5373d6c379388 (patch) | |
tree | 4bb9e0853a6c8384fbbec077b25342c58d2ac7f1 /edksetup.sh | |
parent | 808def96aa4589fba9c2d0ea55837754a3b7a4f7 (diff) | |
download | edk2-3a6b4559e5182bd50a2f1de5abe5373d6c379388.tar.xz |
Removed Java/Ant specific content from the setup scripts.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7169 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'edksetup.sh')
-rwxr-xr-x | edksetup.sh | 28 |
1 files changed, 4 insertions, 24 deletions
diff --git a/edksetup.sh b/edksetup.sh index 323b0f3d87..b5a1cb14de 100755 --- a/edksetup.sh +++ b/edksetup.sh @@ -22,38 +22,18 @@ if [ \ "$1" = "--help" \ ] then - echo BaseTools Usage: \'. edksetup.sh BaseTools\' - echo Ant Tools Usage: \'. edksetup.sh [AntBuild \| ForceRebuild]\' + echo BaseTools Usage: \'. edksetup.sh\' echo echo Please note: This script must be \'sourced\' so the environment can be changed. echo \(Either \'. edksetup.sh\' or \'source edksetup.sh\'\) return fi -if [ "$1" = BaseTools ] +if [ -z "$WORKSPACE" ] then - if [ -z "$WORKSPACE" ] - then - . BaseTools/BuildEnv $* - else - . $WORKSPACE/BaseTools/BuildEnv $* - fi + . BaseTools/BuildEnv $* else - if [ "$1" = AntBuild -o "$1" = ForceRebuild ] - then - if [ -z "$WORKSPACE" ] - then - if [ "$1" = AntBuild ] - then - shift - fi - . Tools/OldBuildEnv $* - else - . $WORKSPACE/Tools/OldBuildEnv $* - fi - else - echo Please run \'. edksetup.sh --help\' for help. - fi + . $WORKSPACE/BaseTools/BuildEnv $* fi |