diff --git a/cd.sh b/cd.sh index 04d80a4..2757fc5 100644 --- a/cd.sh +++ b/cd.sh @@ -20,8 +20,8 @@ cd_main () { cd_install_git cd_install_python cd_clean_packages_cache - cd_install "${@}" - cd_bootstrap "${@}" + cd_clone_parent_repositories "${@}" + cd_set_python_commands "${@}" } # @@ -223,10 +223,10 @@ cd_clean_packages_cache () { esac } -cd_install () { +cd_clone_parent_repositories () { local repository local root - cd_step "Install" + cd_step "Clone parent repositories" root="$(mktemp --directory)" || exit for repository in "${@}" ; do git clone \ @@ -239,8 +239,8 @@ local root rm --force --recursive "${root}" || exit } -cd_bootstrap () { - cd_step "Bootstrap" +cd_set_python_commands () { + cd_step "Set Python commands" "${CD_PYTHON_COMMAND}" -m "${1}" }