Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/nasa/astrobee into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-alexandrov committed Dec 3, 2021
2 parents 2de0d3d + 03e9ee4 commit df659e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,10 @@ if [ $native_build == 1 ] ; then
# Add our cmake to paths and bashrc
grep -qF 'source /opt/ros/'$ros_version'/setup.bash' ~/.bashrc || echo 'source /opt/ros/'$ros_version'/setup.bash' >> ~/.bashrc
cmake_astrobee_path=`catkin locate -s`/cmake
grep -qF ${cmake_astrobee_path} ~/.bashrc \
|| echo 'if [[ ":$CMAKE_PREFIX_PATH:" != *":'${cmake_astrobee_path}':"* ]]; then CMAKE_PREFIX_PATH="${CMAKE_PREFIX_PATH:+"$CMAKE_PREFIX_PATH:"}'${cmake_astrobee_path}'"; fi' >> ~/.bashrc
grep -qF ${cmake_astrobee_path} ~/.bashrc || {
echo -e '\n' >> ~/.bashrc \
echo 'if [[ ":$CMAKE_PREFIX_PATH:" != *":'${cmake_astrobee_path}':"* ]]; then CMAKE_PREFIX_PATH="${CMAKE_PREFIX_PATH:+"$CMAKE_PREFIX_PATH:"}'${cmake_astrobee_path}'"; fi' >> ~/.bashrc
}
source ~/.bashrc

catkin profile add native
Expand Down

0 comments on commit df659e2

Please sign in to comment.