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_git
|
||||||
cd_install_python
|
cd_install_python
|
||||||
cd_clean_packages_cache
|
cd_clean_packages_cache
|
||||||
cd_install "${@}"
|
cd_clone_parent_repositories "${@}"
|
||||||
cd_bootstrap "${@}"
|
cd_set_python_commands "${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -223,10 +223,10 @@ cd_clean_packages_cache () {
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
cd_install () {
|
cd_clone_parent_repositories () {
|
||||||
local repository
|
local repository
|
||||||
local root
|
local root
|
||||||
cd_step "Install"
|
cd_step "Clone parent repositories"
|
||||||
root="$(mktemp --directory)" || exit
|
root="$(mktemp --directory)" || exit
|
||||||
for repository in "${@}" ; do
|
for repository in "${@}" ; do
|
||||||
git clone \
|
git clone \
|
||||||
|
@ -239,8 +239,8 @@ local root
|
||||||
rm --force --recursive "${root}" || exit
|
rm --force --recursive "${root}" || exit
|
||||||
}
|
}
|
||||||
|
|
||||||
cd_bootstrap () {
|
cd_set_python_commands () {
|
||||||
cd_step "Bootstrap"
|
cd_step "Set Python commands"
|
||||||
"${CD_PYTHON_COMMAND}" -m "${1}"
|
"${CD_PYTHON_COMMAND}" -m "${1}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue