File tree Expand file tree Collapse file tree 1 file changed +16
-11
lines changed
Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Original file line number Diff line number Diff line change @@ -41,17 +41,22 @@ if "%args%" == "" (
4141 echo e.g. vc_env_helper.bat cl /c test.cpp
4242)
4343
44- REM Setup a symlink to shorten the path length.
45- REM Note that the ET directory has to be named "executorch".
46- set work_dir = %CD%
47- cd %GITHUB_WORKSPACE%
48- if not exist et (
49- mkdir et
50- )
51- cd et
52- if not exist executorch (
53- mklink /d executorch %work_dir%
44+ echo " Evaluating symlink status. CWD: %CD% "
45+ if exist setup.py (
46+ echo " Creating symlink..."
47+ REM Setup a symlink to shorten the path length.
48+ REM Note that the ET directory has to be named "executorch".
49+ set work_dir = %CD%
50+ cd %GITHUB_WORKSPACE%
51+ if not exist et (
52+ mkdir et
53+ )
54+ cd et
55+ if not exist executorch (
56+ mklink /d executorch %work_dir%
57+ )
58+ cd executorch
5459)
55- cd executorch
60+ echo " Post symlink CWD: %CD% "
5661
5762%args% || exit /b 1
You can’t perform that action at this time.
0 commit comments