Index: sdk/bin/pub_sdk.bat |
diff --git a/sdk/bin/pub_sdk.bat b/sdk/bin/pub_sdk.bat |
index 0f0024d7f84bc7ba26d0be2edfc95d5426ca11b7..3ea8f1331f844a84b77d132038b2375576a1fb6c 100644 |
--- a/sdk/bin/pub_sdk.bat |
+++ b/sdk/bin/pub_sdk.bat |
@@ -35,7 +35,7 @@ setlocal |
for %%i in (%1) do set result=%%~fi |
set current= |
for /f "usebackq tokens=2 delims=[]" %%i in (`dir /a:l "%~dp1" 2^>nul ^ |
- ^| find "> %~n1 ["`) do ( |
+ ^| find "> %~n1 [" 2^>nul`) do ( |
set current=%%i |
) |
if not "%current%"=="" call :follow_links "%current%", result |