Commits

Piotr Stefan Stefaniak  committed 68e92ee

BAM-10992 devenvrunner.bat can't handle target name with spaces if it doesn't contain pipe character
fixes from BSP-7812

  • Participants
  • Parent commits cc5aa99

Comments (0)

Files changed (1)

File src/main/resources/com/atlassian/bamboo/plugin/dotnet/visualstudio/devenvrunner.bat

 IF "%~1"=="" GOTO Continue
 set /A BAM_COUNT=%BAM_COUNT%+1
 
+echo "%~1" | findstr "|"
+if %errorlevel% == 0 (
+set ARG="%~1"
+goto ARG_SET
+)
+
 echo "%~1" | findstr /r /c:". ."
 if %errorlevel% == 0 (
 set ARG="%~1"