Skip to content

Commit

Permalink
edksetup.sh: Code style
Browse files Browse the repository at this point in the history
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Liming Gao <[email protected]>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15199 6f19259b-4bc3-4df7-8a09-765794883524
  • Loading branch information
jljusten2 authored and jljusten committed Jan 30, 2014
1 parent 8d25bed commit ef9086c
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions edksetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,26 +44,28 @@ function SetupEnv()

function SourceEnv()
{
if [ \
"$1" = "-?" -o \
"$1" = "-h" -o \
"$1" = "--help" \
]
then
HelpMsg
return
else
SetupEnv "$*"
fi
if [ \
"$1" = "-?" -o \
"$1" = "-h" -o \
"$1" = "--help" \
]
then
HelpMsg
return
else
SetupEnv "$*"
fi
}
if [ $# -gt 1 ]

if [ $# -gt 1 ]
then
HelpMsg
return
elif [ $# -eq 1 ] && [ "$1" != "BaseTool" ]
then
HelpMsg
return
fi
fi

SourceEnv "$*"

0 comments on commit ef9086c

Please sign in to comment.