From be801409fb860af8507bd6e46c65d39c3eeea383 Mon Sep 17 00:00:00 2001 From: Lennart Reiher Date: Thu, 14 Nov 2024 19:49:17 +0100 Subject: [PATCH] fix bug in rmw_zenoh_cpp build on Ubuntu 22 introduced in #38 --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index c29b10c..757c9ba 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -223,7 +223,7 @@ RUN source /opt/ros/$ROS_DISTRO/setup.bash && \ if [[ "$RMW_IMPLEMENTATION" == "rmw_zenoh_cpp" ]]; then \ mkdir -p /opt/ws_rmw_zenoh/src && \ git clone https://github.com/ros2/rmw_zenoh.git /opt/ws_rmw_zenoh/src/rmw_zenoh && \ - if [[ "$UBUNTU_VERSION" == "22.04" ]]; then \ + if [[ "$(lsb_release -r | awk '{print $2}')" == "22.04" ]]; then \ git clone https://github.com/eProsima/Fast-CDR.git /opt/ws_rmw_zenoh/src/Fast-CDR ; \ fi && \ rosdep init || true && \