Skip to content

Commit

Permalink
ROS2 builds should always use .rosinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
AAlon committed Jul 16, 2019
1 parent 80ac4a5 commit 405f5e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ros2_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ echo "repo: ${REPO_NAME} branch: ${TRAVIS_BRANCH}"
# use colcon as build tool to build the package, and optionally build tests
. "/opt/ros/${ROS_DISTRO}/setup.sh"
cd "/${ROS_DISTRO}_ws/"
if [ "${TRAVIS_BRANCH}" == "master" ] && [ -f "./src/${REPO_NAME}/.rosinstall.master" ]; then
if [ -f "./src/${REPO_NAME}/.rosinstall.master" ]; then
mkdir dep
cd "/${ROS_DISTRO}_ws/dep"
ln -s "../src/${REPO_NAME}/.rosinstall.master" .rosinstall
Expand Down

0 comments on commit 405f5e4

Please sign in to comment.