Skip to content

Commit

Permalink
Remove carma-utils and carma-msgs out of conditional in checkout.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbourelly999 committed Apr 19, 2024
1 parent b332bdc commit f264f8e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docker/checkout.bash
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,11 @@ while [[ $# -gt 0 ]]; do
;;
esac
done

sudo git clone https://github.com/usdot-fhwa-stol/carma-msgs.git ${dir}/src/CARMAMsgs --branch "$BRANCH"
sudo git clone https://github.com/usdot-fhwa-stol/carma-utils.git ${dir}/src/CARMAUtils --branch "$BRANCH"
if [[ "$BRANCH" == "develop" ]] || [[ "$BRANCH" == "master" ]]; then
sudo git clone https://github.com/usdot-fhwa-stol/carma-msgs.git ${dir}/src/CARMAMsgs --branch "$BRANCH"
sudo git clone https://github.com/usdot-fhwa-stol/carma-utils.git ${dir}/src/CARMAUtils --branch "$BRANCH"
sudo git clone https://github.com/usdot-fhwa-stol/autoware.ai.git ${dir}/src/autoware.ai --branch carma-"$BRANCH"
else
sudo git clone https://github.com/usdot-fhwa-stol/carma-msgs.git ${dir}/src/CARMAMsgs --branch "$BRANCH"
sudo git clone https://github.com/usdot-fhwa-stol/carma-utils.git ${dir}/src/CARMAUtils --branch "$BRANCH"
sudo git clone https://github.com/usdot-fhwa-stol/autoware.ai.git ${dir}/src/autoware.ai --branch "$BRANCH"
fi
#TODO This probably needs to be moved into install.sh
Expand Down

0 comments on commit f264f8e

Please sign in to comment.