mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 08:04:07 +02:00
edksetup.sh: Code style
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15199 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
8d25bed4bd
commit
ef9086c3a5
28
edksetup.sh
28
edksetup.sh
@ -44,19 +44,20 @@ function SetupEnv()
|
|||||||
|
|
||||||
function SourceEnv()
|
function SourceEnv()
|
||||||
{
|
{
|
||||||
if [ \
|
if [ \
|
||||||
"$1" = "-?" -o \
|
"$1" = "-?" -o \
|
||||||
"$1" = "-h" -o \
|
"$1" = "-h" -o \
|
||||||
"$1" = "--help" \
|
"$1" = "--help" \
|
||||||
]
|
]
|
||||||
then
|
then
|
||||||
HelpMsg
|
HelpMsg
|
||||||
return
|
return
|
||||||
else
|
else
|
||||||
SetupEnv "$*"
|
SetupEnv "$*"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
if [ $# -gt 1 ]
|
|
||||||
|
if [ $# -gt 1 ]
|
||||||
then
|
then
|
||||||
HelpMsg
|
HelpMsg
|
||||||
return
|
return
|
||||||
@ -64,6 +65,7 @@ elif [ $# -eq 1 ] && [ "$1" != "BaseTool" ]
|
|||||||
then
|
then
|
||||||
HelpMsg
|
HelpMsg
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SourceEnv "$*"
|
SourceEnv "$*"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user