ros-windows/ros_comm — pull request #2 by JonathanWade (2014-07-02 18:40:38+00:00)
Title: Fix to env variable discovery logic

The original logic for the batch file works if ROS_MASTER_URI does not exist. However, it would fail if the variable was already in the environment causing windows bail reporting "]==[] was unexpected," and as a consequence would cause the entire ROS environment setup to fail. The updated logic in this patch works whether or not the ROS_MASTER_URI variable exists.

See this original pull request for context: [Win_ros pull request #44](https://github.com/ros-windows/win_ros/pull/44)