@@ -149,8 +149,8 @@ exit /b
149
149
exit /b
150
150
151
151
:enhance_path_recursive
152
- call :set_path_recursive " %~1 " " %~2 " " %~3 "
153
- exit /b
152
+ call :set_path_recursive " %~1 " " %~2 " " %~3 "
153
+ exit /b
154
154
155
155
:set_path_recursive
156
156
:: :===============================================================================
@@ -206,9 +206,9 @@ exit /b
206
206
if " %fast_init% " == " 1" (
207
207
if " %add_to_path% " neq " " (
208
208
if " %position% " == " append" (
209
- set " path = %path% ;%add_to_path% "
209
+ set " path = %path% ;%add_to_path% "
210
210
) else (
211
- set " path = %add_to_path% ;%path% "
211
+ set " path = %add_to_path% ;%path% "
212
212
)
213
213
)
214
214
)
@@ -227,9 +227,9 @@ exit /b
227
227
if " %add_to_path% " neq " " (
228
228
%print_debug% :set_path_recursive " Adding parent directory - '%add_to_path% '"
229
229
if " %position% " == " append" (
230
- set " path = %path% ;%add_to_path% "
230
+ set " path = %path% ;%add_to_path% "
231
231
) else (
232
- set " path = %add_to_path% ;%path% "
232
+ set " path = %add_to_path% ;%path% "
233
233
)
234
234
)
235
235
call :set_depth
@@ -250,16 +250,9 @@ exit /b
250
250
)
251
251
252
252
for /d %%i in (" %add_path% \*" ) do (
253
- <<<<<<< HEAD
254
- %print_debug% :set_path_recursive " Env Var BEFORE - depth=%depth% "
253
+ %print_debug% :set_path_recursive " Env Var BEFORE - depth=%depth% "
255
254
%print_debug% :set_path_recursive " Found Subdirectory - '%%~fi '"
256
255
call :set_path_recursive " %%~fi " %depth% %max_depth% %position%
257
- %print_debug% :set_path_recursive " Env Var AFTER- depth=%depth% "
258
- ====== =
259
- %print_debug% :enhance_path_recursive " Env Var BEFORE - depth=%depth% "
260
- %print_debug% :enhance_path_recursive " Found Subdirectory - '%%~fi '"
261
- call :enhance_path_recursive " %%~fi " %depth% %max_depth% %position%
262
- %print_debug% :enhance_path_recursive " Env Var AFTER- depth=%depth% "
263
- >>>>>>> 126347025f9cade241beff182738b2527da7535e
256
+ %print_debug% :set_path_recursive " Env Var AFTER- depth=%depth% "
264
257
)
265
258
exit /b
0 commit comments