mirror of https://github.com/acidanthera/audk.git
Set correct workspace when workspace is not set.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9816 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
2e76dc7e79
commit
dff2673eec
13
edksetup.bat
13
edksetup.bat
|
@ -30,13 +30,16 @@
|
||||||
pushd .
|
pushd .
|
||||||
cd %~dp0
|
cd %~dp0
|
||||||
|
|
||||||
if defined WORKSPACE (
|
if not defined WORKSPACE (
|
||||||
if %WORKSPACE% == %CD% (
|
@goto SetWorkSpace
|
||||||
@REM workspace is not changed.
|
|
||||||
@goto ParseArgs
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if %WORKSPACE% == %CD% (
|
||||||
|
@REM Workspace is not changed.
|
||||||
|
@goto ParseArgs
|
||||||
|
)
|
||||||
|
|
||||||
|
:SetWorkSpace
|
||||||
@REM set new workspace
|
@REM set new workspace
|
||||||
@REM clear EFI_SOURCE and EDK_SOURCE for the new workspace
|
@REM clear EFI_SOURCE and EDK_SOURCE for the new workspace
|
||||||
set WORKSPACE=%CD%
|
set WORKSPACE=%CD%
|
||||||
|
|
Loading…
Reference in New Issue