Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/recipe/os/APT/ROS.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
* -------------------------------------------------------------
* File Authors : Heng Guo <2085471348@qq.com>
* Contributors : Aoran Zeng <ccmywish@qq.com>
* | zouri <guoshuaisun@outlook.com>
Comment thread
zouri marked this conversation as resolved.
* Created On : <2023-09-03>
* Last Modified : <2024-08-23>
* Last Modified : <2024-12-05>
* ------------------------------------------------------------*/

/**
* @update 2024-04-18
Comment thread
zouri marked this conversation as resolved.
* @update 2024-12-05
*/
static Source_t os_ros_sources[] =
{
Expand Down Expand Up @@ -39,7 +40,7 @@ os_ros_setsrc (char *option)
chsrc_backup (OS_ROS_SourceList);

char *cmd = NULL;
cmd = xy_strjoin(3, "sed -E -i \'s@https?://.*/ros/ubuntu/?@", source.url, "@/ros/ubuntug\' " OS_ROS_SourceList);
cmd = xy_strjoin(3, "sed -E -i \'s@https?://.*/ros/ubuntu/?@", source.url, "/ros/ubuntu@g\' " OS_ROS_SourceList);
chsrc_run(cmd, RunOpt_Default);

cmd = "apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654";
Expand Down