parent
81b7d3b209
commit
01af7b368f
1 changed files with 3 additions and 3 deletions
6
cd.sh
6
cd.sh
|
@ -3,8 +3,8 @@
|
||||||
CD_DNS_SERVERS=(
|
CD_DNS_SERVERS=(
|
||||||
'9.9.9.9'
|
'9.9.9.9'
|
||||||
)
|
)
|
||||||
|
CD_NAME='cd'
|
||||||
CD_REPOSITORIES_PARENT='rwx'
|
CD_REPOSITORIES_PARENT='rwx'
|
||||||
CD_REPOSITORY_NAME='cd'
|
|
||||||
|
|
||||||
CD_DNS_FILE='/etc/resolv.conf'
|
CD_DNS_FILE='/etc/resolv.conf'
|
||||||
case "${CD_OS_NAME}" in
|
case "${CD_OS_NAME}" in
|
||||||
|
@ -223,7 +223,7 @@ local root
|
||||||
root="$(mktemp --directory)" || exit
|
root="$(mktemp --directory)" || exit
|
||||||
for repository in \
|
for repository in \
|
||||||
"${CD_REPOSITORIES_PARENT}" \
|
"${CD_REPOSITORIES_PARENT}" \
|
||||||
"${CD_REPOSITORY_NAME}" \
|
"${CD_NAME}" \
|
||||||
; do
|
; do
|
||||||
git clone \
|
git clone \
|
||||||
"${CD_REPOSITORIES_URL}/${repository}" "${root}/${repository}" \
|
"${CD_REPOSITORIES_URL}/${repository}" "${root}/${repository}" \
|
||||||
|
@ -237,7 +237,7 @@ local root
|
||||||
|
|
||||||
function cd_bootstrap {
|
function cd_bootstrap {
|
||||||
cd_step "${FUNCNAME}"
|
cd_step "${FUNCNAME}"
|
||||||
"${CD_PYTHON_COMMAND}" -m "${CD_REPOSITORY_NAME}"
|
"${CD_PYTHON_COMMAND}" -m "${CD_NAME}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function cd_main {
|
function cd_main {
|
||||||
|
|
Loading…
Reference in a new issue