# ODROID/Ubuntu: devel/setup.bash not loading from ~/.bashrc

For some reason, the src path is not being loaded automagically when put in ~/.bashrc I've created a function simply for troubleshooting but can't figure out why I have to load it manually everytime.

At the end of my ~/.bashrc file

function load_source {
echo "Loading: $1" source$1
}

load_source $HOME/catkin_ws/devel/setup.bash  Logging in.. Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.8.13.30 armv7l) Last login: Mon Nov 30 19:10:57 2015 from 10.23.42.24 Loading: /opt/ros/indigo/setup.bash Loading: /home/odroid/catkin_ws/devel/setup.bash # Checking path (src IS NOT in path) odroid@odroid-server:~$ echo $ROS_PACKAGE_PATH /opt/ros/indigo/share:/opt/ros/indigo/stacks # Load it manually odroid@odroid-server:~$ load_source /home/odroid/catkin_ws/devel/setup.bash
odroid@odroid-server:~$echo$ROS_PACKAGE_PATH