Skip to content

Conversation

@SylvainPastor
Copy link

…s_path argument is used:

source ./build_ros2_workspace.bash --ros_path /home/sylvain/work/ros/foxy/install/setup.bash
./build_ros2_workspace.bash: line 101: /opt/ros/foxy/setup.bash: No such file or directory

2 consecutive calls to the "source":
- 1st line 91: source $ros_path (ROS2 environment from arg)
- 2nd line 101: source /opt/ros/$ROS_DISTRO/setup.bash
In this second case, if there is no ROS installation, the script fails.

…s_path argument is used:

  source ./build_ros2_workspace.bash --ros_path /home/sylvain/work/ros/foxy/install/setup.bash
  ./build_ros2_workspace.bash: line 101: /opt/ros/foxy/setup.bash: No such file or directory

  2 consecutive calls to the "source":
    - 1st line 91:  source $ros_path (ROS2 environment from arg)
    - 2nd line 101: source /opt/ros/$ROS_DISTRO/setup.bash
      In this second case, if there is no ROS installation, the script fails.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant