*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit f1b46be2 authored by Bader, Markus's avatar Bader, Markus
Browse files

warning added if not in container

parent 9b20ca04
Branches
No related tags found
No related merge requests found
......@@ -11,6 +11,14 @@ if [ ! -f $PWD/.env.local ]; then
fi
source $PWD/.env.local
if [ -f /.dockerenv ]; then
echo -e "Welcome to the project \e[43;34m'$PROJECT_NAME'\e[0m"
# Perform your Docker-specific actions here
else
echo -e "\e[31mYou are not inside a docker container!\e[0m The project '$PROJECT_NAME' is \e[31mnot sourced!\e[0m"
return 0 # Exit with a status code 0 (success)
fi
export ROS_DISTRO=jazzy
export PROJECT_DIR=${MR_DIR}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment