Skip to content
Snippets Groups Projects
Commit 4d9b1a57 authored by Montaño Sarria, Andres Felipe's avatar Montaño Sarria, Andres Felipe
Browse files

Remove echoes

parent eb5483d4
Branches
No related tags found
No related merge requests found
#!/bin/bash #!/usr/bin/env bash
# Setup ros environment # Check if the shell is Bash or Zsh
source "/opt/ros/$ROS_DISTRO/setup.bash" if [ -n "$BASH_VERSION" ]; then
exec "$@" # Bash
\ No newline at end of file source "/opt/ros/$ROS_DISTRO/setup.bash"
elif [ -n "$ZSH_VERSION" ]; then
# Zsh
source "/opt/ros/$ROS_DISTRO/setup.zsh"
else
echo "Unknown shell. This script is designed for Bash and Zsh."
return 1
fi
exec "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment