Commit 26a0bbb1 authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Florent Lamiraux florent@laas.fr
Browse files

[config.sh] Homogeneize ubuntu-16.04 and ubuntu-18.04.

parent 2308e0a8
export INSTALL_HPP_DIR=$DEVEL_HPP_DIR/install
export ROBOTPKG=/opt/openrobots
export ROS=/opt/ros/kinetic
if [ -f $INSTALL_HPP_DIR/setup.bash ]; then
source $INSTALL_HPP_DIR/setup.bash
else
source /opt/ros/kinetic/setup.bash
source $ROS/setup.bash
export ROS_PACKAGE_PATH=$INSTALL_HPP_DIR/share:$ROS_PACKAGE_PATH
export CMAKE_PREFIX_PATH=$INSTALL_HPP_DIR:$CMAKE_PREFIX_PATH
export LD_LIBRARY_PATH=$INSTALL_HPP_DIR/lib:$LD_LIBRARY_PATH
......@@ -15,11 +17,11 @@ if [ -f "${INSTALL_HPP_DIR}/etc/hpp-tools/bashrc" ]; then
source "${INSTALL_HPP_DIR}/etc/hpp-tools/bashrc"
fi
# Make sure that /opt/ros/kinetic/setup.bash is in the ROS_PACKAGE_PATH,
# Make sure that /opt/ros/kinetic is in the ROS_PACKAGE_PATH,
# otherwise, you should add it by hand in the line below.
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/opt/openrobots/share
export PYTHONPATH=$INSTALL_HPP_DIR/lib/python2.7/site-packages:$INSTALL_HPP_DIR/lib/python2.7/dist-packages:$PYTHONPATH
export CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH:/opt/openrobots
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/openrobots/lib
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$ROBOTPKG/share
export CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH:$ROBOTPKG
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROBOTPKG/lib
export PATH=$INSTALL_HPP_DIR/sbin:${PATH}
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/openrobots/lib/pkgconfig
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$ROBOTPKG/lib/pkgconfig
......@@ -14,7 +14,7 @@ if [ -f $INSTALL_HPP_DIR/setup.bash ]; then
else
source $ROS/setup.bash
fi
# Make sure that /opt/ros/melodic/setup.bash is in the ROS_PACKAGE_PATH,
# Make sure that /opt/ros/melodic is in the ROS_PACKAGE_PATH,
# otherwise, you should add it by hand in the line below.
export ROS_PACKAGE_PATH=$INSTALL_HPP_DIR/share:$ROBOTPKG/share:$ROS_PACKAGE_PATH
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment