From 71f2d69139bbfe1974cafde572867368319beeae Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Sat, 5 Nov 2022 00:14:10 +0600 Subject: [PATCH] Preserve environment --- builder/image-ros.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/image-ros.sh b/builder/image-ros.sh index d6eb06f7..c2fae850 100755 --- a/builder/image-ros.sh +++ b/builder/image-ros.sh @@ -112,7 +112,7 @@ my_travis_retry pip3 install wheel my_travis_retry pip3 install -r /home/pi/catkin_ws/src/clover/clover/requirements.txt source /opt/ros/${ROS_DISTRO}/setup.bash # Don't build simulation plugins for actual drone -sudo -u pi catkin_make -j2 -DCMAKE_BUILD_TYPE=RelWithDebInfo +sudo -E -u pi catkin_make -j2 -DCMAKE_BUILD_TYPE=RelWithDebInfo source devel/setup.bash echo_stamp "Install clever package (for backwards compatibility)"