parent
8a0922e7ce
commit
31daabef65
1 changed files with 6 additions and 6 deletions
12
cd.sh
12
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}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue