Index: sdk/bin/pub.bat |
diff --git a/sdk/bin/pub.bat b/sdk/bin/pub.bat |
index 2ad2baacbe388b932a0cc9ad38486f6043b1a242..7eb8b0dde4274f91541d13c7d892e178912d391b 100644 |
--- a/sdk/bin/pub.bat |
+++ b/sdk/bin/pub.bat |
@@ -46,7 +46,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 ^ |
- ^| %SystemRoot%\System32\find.exe "> %~n1 ["`) do ( |
+ ^| %SystemRoot%\System32\find.exe "> %~n1 [" 2^>nul`) do ( |
set current=%%i |
) |
if not "%current%"=="" call :follow_links "%current%", result |