Skip to content

Commit

Permalink
Update checkout script to account for carma-master and carma-develop
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbourelly999 committed Apr 23, 2024
1 parent 8c3d7b1 commit 3a1e559
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker/checkout.bash
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ while [[ $# -gt 0 ]]; do
;;
esac
done

# When brance is carma-develop or carma-master strip carma prefix
if [[ "$BRANCH" == "carma-develop" ]]; then
BRANCH=develop
elif [[ "$BRANCH" == "carma-master"]]; then
BRANCH=master
fi
cd ${dir}/autoware.ai
git clone --depth=1 https://github.com/usdot-fhwa-stol/carma-msgs.git --branch $BRANCH
git clone --depth=1 https://github.com/usdot-fhwa-stol/carma-utils.git --branch $BRANCH
Expand Down

0 comments on commit 3a1e559

Please sign in to comment.