ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 2012-04-05 05:16:05 -0600

joq gravatar image

A good question. I don't know a good answer.

We can get some hints from the default script provided in /opt/ros/fuerte/env.sh:

#!/bin/sh

if [ $# -eq 0 ] ; then
    /bin/echo "Entering environment at /opt/ros/fuerte"
    . /opt/ros/fuerte/setup.sh
    $SHELL
    /bin/echo "Exiting build environment at /opt/ros/fuerte"
else
    . /opt/ros/fuerte/setup.sh
    exec "$@"
fi

I suspect that one could add additional environment definitions using a similar script.