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

Commit

Permalink
Ensure we update with --rebase and that we are in the right directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
aentinger committed May 13, 2024
1 parent f202a30 commit 3743f0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ if [ "$1" = "build" ]
then
echo "Rebuilding package robotem_rovne ..."
cd src/robotem_rovne
git pull origin main
git pull origin main --rebase
cd /tmp/colcon_ws
colcon build --packages-select robotem_rovne
elif [ "$1" = "run" ]
then
echo "Starting application robotem_rovne"
cd /tmp/colcon_ws
. install/setup.sh
ros2 launch robotem_rovne all.py
else
Expand Down

0 comments on commit 3743f0e

Please sign in to comment.