Fixing that .bashrc script


#1

Greetings and salutations:

When I issue the following command

docker exec -it openagbraindockerrpi_brain_1 bash

to access my openag_brain docker container I get these errors

bash: -e: command not found
bash: -e: command not found

That’s because the “-e” flag in the .bashrc doesn’t work.

Removing the -e with

vi .bashrc

to look like this

[ -z "$PS1" ] && return
source ./catkin_ws/devel/setup.bash

makes them happy and I no longer need to run the source command when I tunnel into the container. YAY!

How can we get that update into the docker container for everyone else?