cd_git_parent

This commit is contained in:
Marc Beninca 2024-06-02 15:50:44 +02:00
parent 4be78a3d0e
commit 5b3122aaf2
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

9
cd.sh
View file

@ -5,11 +5,8 @@ CD_DEFAULT_DNS="\
9.9.9.9 \
"
CD_GIT_CHILD="cd"
CD_PYTHON_MODULES="\
${CD_GIT_CHILD} \
rwx \
"
[ "${CD_GIT_CHILD}" ] || CD_GIT_CHILD="cd"
[ "${CD_GIT_PARENT}" ] || CD_GIT_PARENT="rwx"
# main
cd_main () {
@ -540,7 +537,7 @@ local url
cd_step "Install Python modules"
root="$(mktemp --directory)" || exit
echo "${root}"
for repository in ${CD_PYTHON_MODULES} ; do
for repository in "${CD_GIT_CHILD}" "${CD_GIT_PARENT}" ; do
cd_split
url="${CD_PROJECTS_URL}/${repository}"
echo -n "\