1. retired NicIp4ConfigProtocolGuid
[edk2.git] / edksetup.sh
blobb5a1cb14de1fa16670127197b0604d8b4d70e08b
2 # Copyright (c) 2006 - 2008, Intel Corporation
3 # All rights reserved. This program and the accompanying materials
4 # are licensed and made available under the terms and conditions of the BSD License
5 # which accompanies this distribution. The full text of the license may be found at
6 # http://opensource.org/licenses/bsd-license.php
7 #
8 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
9 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 # Setup the environment for unix-like systems running a bash-like shell.
12 # This file must be "sourced" not merely executed. For example: ". edksetup.sh"
14 # CYGWIN users: Your path and filename related environment variables should be
15 # set up in the unix style. This script will make the necessary conversions to
16 # windows style.
18 if [ \
19 -z "$1" -o \
20 "$1" = "-?" -o \
21 "$1" = "-h" -o \
22 "$1" = "--help" \
24 then
25 echo BaseTools Usage: \'. edksetup.sh\'
26 echo
27 echo Please note: This script must be \'sourced\' so the environment can be changed.
28 echo \(Either \'. edksetup.sh\' or \'source edksetup.sh\'\)
29 return
32 if [ -z "$WORKSPACE" ]
33 then
34 . BaseTools/BuildEnv $*
35 else
36 . $WORKSPACE/BaseTools/BuildEnv $*