From 24786aa49d629b564ac7d7a96bab5f7dcc4cf8fd Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Mon, 13 May 2024 08:34:53 +0200 Subject: [PATCH] Adapt syntax to "sh". --- docker/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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