Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Adapt syntax to "sh".
Browse files Browse the repository at this point in the history
  • Loading branch information
aentinger committed May 13, 2024
1 parent 5d94372 commit 24786aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24786aa

Please sign in to comment.