Skip to content

Commit 0745d75

Browse files
committed
Use Bash's source instead of sh's .
1 parent 8e7c8e8 commit 0745d75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci-scripts/build_java.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ if [ -z "$ROS2_JAVA_SKIP_AMENT" ]; then
6363
colcon build --install-base $AMENT_INSTALL_DIR --build-base $AMENT_BUILD_DIR
6464
fi
6565

66-
. $AMENT_INSTALL_DIR/local_setup.sh
66+
source $AMENT_INSTALL_DIR/local_setup.bash
6767

6868
if [ -z "$ROS2_JAVA_SKIP_JAVA" ]; then
6969
cd $ROS2_JAVA_WS
@@ -72,7 +72,7 @@ fi
7272

7373
if [ -z "$ROS2_JAVA_SKIP_TESTS" ]; then
7474
cd $ROS2_JAVA_WS
75-
. $ROS2_JAVA_INSTALL_DIR/local_setup.sh
75+
source $ROS2_JAVA_INSTALL_DIR/local_setup.bash
7676

7777
colcon test --install-base $ROS2_JAVA_INSTALL_DIR --build-base $ROS2_JAVA_BUILD_DIR --packages-select ament_cmake_export_jars rcljava rcljava_common rosidl_generator_java | tee /tmp/test_logging.log
7878

0 commit comments

Comments
 (0)