Reorganize files for easier build
This commit is contained in:
parent
3eb368b027
commit
369e58e4be
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# setup ros environment
|
||||
source "/opt/ros/$ROS_DISTRO/setup.bash" --
|
||||
|
||||
if [ -e "$CATKIN_SETUP_FILE" ]; then
|
||||
# Source the setup.bash file
|
||||
source "$CATKIN_SETUP_FILE" --
|
||||
echo "Sourced $CATKIN_SETUP_FILE"
|
||||
else
|
||||
echo "Warning: $CATKIN_SETUP_FILE does not exist. Not running using a catkin workspace"
|
||||
fi
|
||||
exec stdbuf -o L "$@"
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
Loading…
Reference in New Issue