cd_git_parent
This commit is contained in:
parent
4be78a3d0e
commit
5b3122aaf2
1 changed files with 3 additions and 6 deletions
9
cd.sh
9
cd.sh
|
@ -5,11 +5,8 @@ CD_DEFAULT_DNS="\
|
||||||
9.9.9.9 \
|
9.9.9.9 \
|
||||||
"
|
"
|
||||||
|
|
||||||
CD_GIT_CHILD="cd"
|
[ "${CD_GIT_CHILD}" ] || CD_GIT_CHILD="cd"
|
||||||
CD_PYTHON_MODULES="\
|
[ "${CD_GIT_PARENT}" ] || CD_GIT_PARENT="rwx"
|
||||||
${CD_GIT_CHILD} \
|
|
||||||
rwx \
|
|
||||||
"
|
|
||||||
|
|
||||||
# main
|
# main
|
||||||
cd_main () {
|
cd_main () {
|
||||||
|
@ -540,7 +537,7 @@ local url
|
||||||
cd_step "Install Python modules"
|
cd_step "Install Python modules"
|
||||||
root="$(mktemp --directory)" || exit
|
root="$(mktemp --directory)" || exit
|
||||||
echo "${root}"
|
echo "${root}"
|
||||||
for repository in ${CD_PYTHON_MODULES} ; do
|
for repository in "${CD_GIT_CHILD}" "${CD_GIT_PARENT}" ; do
|
||||||
cd_split
|
cd_split
|
||||||
url="${CD_PROJECTS_URL}/${repository}"
|
url="${CD_PROJECTS_URL}/${repository}"
|
||||||
echo -n "\
|
echo -n "\
|
||||||
|
|
Loading…
Reference in a new issue