Skip to content

Commit

Permalink
use ssh instead of http git urls
Browse files Browse the repository at this point in the history
  • Loading branch information
PetervDooren committed Apr 2, 2024
1 parent 8af7bf8 commit bac5598
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fi
# Install / update the installer / updater
if [[ ! -d $EMC_ENV_DIR ]] && [[ -z "$CI" ]]
then
git clone https://github.com/tue-robotics/emc-env $EMC_ENV_DIR
git clone git@github.com:/tue-robotics/emc-env $EMC_ENV_DIR
elif [[ -n "$CI" ]]
then
mkdir -p $EMC_DIR
Expand Down
2 changes: 1 addition & 1 deletion setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function emc-update
then
if [[ ! -d $EMC_ENV_DIR ]]
then
git clone https://github.com/tue-robotics/emc-env $EMC_ENV_DIR
git clone git@github.com:/tue-robotics/emc-env $EMC_ENV_DIR
else
git -C $EMC_ENV_DIR pull
fi
Expand Down
13 changes: 6 additions & 7 deletions setup/emc-update-impl.bash
Original file line number Diff line number Diff line change
Expand Up @@ -114,17 +114,16 @@ then
fi

# 2) Download packages
_git_clone_or_update https://github.com/tue-robotics/emc_system "$EMC_SYSTEM_DIR"/src/emc_system
_git_clone_or_update https://github.com/tue-robotics/catkin_lint_cmake "$EMC_SYSTEM_DIR"/src/catkin_lint_cmake
_git_clone_or_update https://github.com/tue-robotics/emc_simulator "$EMC_SYSTEM_DIR"/src/emc_simulator
_git_clone_or_update https://github.com/tue-robotics/geolib2 "$EMC_SYSTEM_DIR"/src/geolib2
_git_clone_or_update https://github.com/tue-robotics/code_profiler "$EMC_SYSTEM_DIR"/src/code_profiler
_git_clone_or_update https://github.com/husarion/rosbot_description.git "$EMC_SYSTEM_DIR"/src/rosbot_description
_git_clone_or_update [email protected]:/tue-robotics/emc_system "$EMC_SYSTEM_DIR"/src/emc_system
_git_clone_or_update [email protected]:/tue-robotics/catkin_lint_cmake "$EMC_SYSTEM_DIR"/src/catkin_lint_cmake
_git_clone_or_update [email protected]:/tue-robotics/emc_simulator "$EMC_SYSTEM_DIR"/src/emc_simulator
_git_clone_or_update [email protected]:/tue-robotics/geolib2 "$EMC_SYSTEM_DIR"/src/geolib2
_git_clone_or_update [email protected]:/tue-robotics/code_profiler "$EMC_SYSTEM_DIR"/src/code_profiler

if [ "$ROBOT_REAL" != true ]
then
# Simbot specific packages
_git_clone_or_update https://github.com/husarion/rosbot_description.git "$EMC_SYSTEM_DIR"/src/rosbot_description
_git_clone_or_update git@github.com:/husarion/rosbot_description.git "$EMC_SYSTEM_DIR"/src/rosbot_description
fi

# 3) Install dependencies
Expand Down

0 comments on commit bac5598

Please sign in to comment.