diff --git a/scripts/install_software.sh b/scripts/install_software.sh index 4cb8f5d..35ecbfb 100644 --- a/scripts/install_software.sh +++ b/scripts/install_software.sh @@ -86,7 +86,7 @@ cd ~/PX4-Autopilot make px4_sitl echo "--- Building the workspace" -rm -rf /opt/ros/noetic/include/mavlink +sudo -E sh -c 'rm -rf /opt/ros/noetic/include/mavlink' cd ~/catkin_ws catkin_make