X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=edksetup.sh;h=b5a1cb14de1fa16670127197b0604d8b4d70e08b;hp=b6bf8ff4c51ec7de954a5da7c2e172c99e947593;hb=3a0d56608f54c88f55986fbd1c729028f6aa7e16;hpb=8352c27a29e3e75cefbe9c988f0d0c5cca4cf046 diff --git a/edksetup.sh b/edksetup.sh old mode 100644 new mode 100755 index b6bf8ff4c5..b5a1cb14de --- a/edksetup.sh +++ b/edksetup.sh @@ -1,5 +1,5 @@ # -# Copyright (c) 2006 - 2007, Intel Corporation +# Copyright (c) 2006 - 2008, Intel Corporation # All rights reserved. This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License # which accompanies this distribution. The full text of the license may be found at @@ -16,27 +16,24 @@ # windows style. if [ \ + -z "$1" -o \ "$1" = "-?" -o \ "$1" = "-h" -o \ "$1" = "--help" \ ] then - echo BaseTools Usage: \'. edksetup.sh NewBuild\' - echo Ant Tools Usage: \'. edksetup.sh [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" = NewBuild ] +if [ -z "$WORKSPACE" ] then - echo To utilize the new build system, run - echo " . BaseTools/BuildEnv [options]" - echo Try \'. BaseTools/BuildEnv --help\' for more information. - return + . BaseTools/BuildEnv $* else - . $WORKSPACE/Tools/OldBuildEnv $* + . $WORKSPACE/BaseTools/BuildEnv $* fi