Skip to content

Commit

Permalink
Fix rosdep
Browse files Browse the repository at this point in the history
Correctly pass the OS version
  • Loading branch information
rhaschke committed May 22, 2024
1 parent 0234b5e commit 05aead8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function build_pkg {
pkg_exists "$(deb_pkg_name "$pkg_name")" "$version" && return

# Check availability of all required packages (bloom-generate waits for input on rosdep issues)
rosdep install --simulate --from-paths . > /dev/null || return 2
rosdep install --os="$DISTRIBUTION:$DEB_DISTRO" --simulate --from-paths . > /dev/null || return 2
ici_label "${BLOOM_QUIET[@]}" bloom-generate "${BLOOM_GEN_CMD}" --os-name="$DISTRIBUTION" --os-version="$DEB_DISTRO" --ros-distro="$ROS_DISTRO" || return 2

# Enable CATKIN_INSTALL_INTO_PREFIX_ROOT for catkin package
Expand Down Expand Up @@ -271,7 +271,7 @@ function build_source {
PKG_NAMES=()
PKG_FOLDERS=()
#shellcheck disable=SC2034,SC2086
while read -r name folder dummy; do
while read -r name folder unused; do
PKG_NAMES+=("$name")
PKG_FOLDERS+=("$folder")
done < <(colcon list --topological-order $COLCON_PKG_SELECTION)
Expand Down

0 comments on commit 05aead8

Please sign in to comment.