Skip to content

Commit 9438240

Browse files
committed
Merge pull request #1512 from yugangw-msft/path
make environment configured by setupenv.bat persist after batch run
2 parents 8011948 + a4176c0 commit 9438240

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tools/CLU/SetupEnv.bat

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
echo off
2-
setlocal
3-
set root=%~dp0..\..
2+
set CLUROOT=%~dp0..\..
43

54
REM build cmdlets packages
65
set DebugCLU=
76
call %~dp0\BuildAndInstallClu.bat
8-
set Path=%Path%;%root%\drop\clurun\win7-x64
7+
set Path=%Path%;%CLUROOT%\drop\clurun\win7-x64
98
REM run 'azure help' to verify all are wired up
109
azure.bat help
1110
if ERRORLEVEL 1 (
1211
echo Build and deploy clu package failed
1312
exit /B 1
14-
)
13+
)
1514
set DebugCLU=1
16-

0 commit comments

Comments
 (0)