Commits

Jason Perkins committed bbac9c6

Roll back trailing CR-LF pairs on VC'09 build step command lines

  • Participants
  • Parent commits 9e62300

Comments (0)

Files changed (2)

File src/actions/vstudio/vs200x_vcproj.lua

 		_p(3,'<Tool')
 		_p(4,'Name="%s"', name)
 		if #steps > 0 then
-			_x(4,'CommandLine="%s"', table.implode(steps, "", "\r\n", ""))
+			_x(4,'CommandLine="%s"', table.implode(steps, "", "", "\r\n"))
 		end
 		_p(3,'/>')
 	end

File tests/actions/vstudio/vc200x/test_build_steps.lua

 		test.capture [[
 			<Tool
 				Name="VCPreBuildEventTool"
-				CommandLine="command_1&#x0D;&#x0A;command_2&#x0D;&#x0A;"
+				CommandLine="command_1&#x0D;&#x0A;command_2"
 			/>
 		]]
 	end