diff --git a/docker/run.sh b/docker/run.sh index f40e4f9..28f595a 100755 --- a/docker/run.sh +++ b/docker/run.sh @@ -2,14 +2,14 @@ cd /tmp/colcon_ws . /opt/ros/humble/setup.sh -if [[ "$1" = "build" ]] +if [ "$1" = "build" ] then echo "Rebuilding package robotem_rovne ..." cd src/robotem_rovne git pull origin main cd /tmp/colcon_ws colcon build --packages-select robotem_rovne -elif [[ "$1" = "run" ]] +elif [ "$1" = "run" ] then echo "Starting application robotem_rovne" . install/setup.sh