From fbfb3ddbebf6173ad1641d9c36f791702ac5127f Mon Sep 17 00:00:00 2001 From: f-fl0 Date: Tue, 23 Jan 2024 13:06:27 +0900 Subject: [PATCH 1/2] Set ROS_VERSION based on ROS_DISTRIBUTION_TYPE --- update-repo.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/update-repo.sh b/update-repo.sh index 5c091fa..0df0554 100755 --- a/update-repo.sh +++ b/update-repo.sh @@ -25,6 +25,7 @@ aports_slug_upstream=${APORTS_SLUG_UPSTREAM:-seqsense/aports-ros-experimental} aports_slug=${APORTS_SLUG:-${aports_slug_upstream}} ros_distro=${ROS_DISTRO:-noetic} distribution_type=${ROS_DISTRIBUTION_TYPE:-ros1} +export ROS_VERSION=${distribution_type/ros} package_list=$( if [ -f package.list.${ros_distro} ]; then From 97ee16948dd04a9803aa5951c93bbc92310f48d9 Mon Sep 17 00:00:00 2001 From: f-fl0 <66578286+f-fl0@users.noreply.github.com> Date: Tue, 23 Jan 2024 14:41:23 +0900 Subject: [PATCH 2/2] Update update-repo.sh Co-authored-by: Atsushi Watanabe --- update-repo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-repo.sh b/update-repo.sh index 0df0554..91cb8f1 100755 --- a/update-repo.sh +++ b/update-repo.sh @@ -25,7 +25,7 @@ aports_slug_upstream=${APORTS_SLUG_UPSTREAM:-seqsense/aports-ros-experimental} aports_slug=${APORTS_SLUG:-${aports_slug_upstream}} ros_distro=${ROS_DISTRO:-noetic} distribution_type=${ROS_DISTRIBUTION_TYPE:-ros1} -export ROS_VERSION=${distribution_type/ros} +export ROS_VERSION=${distribution_type#ros} package_list=$( if [ -f package.list.${ros_distro} ]; then