spcd_git_url
This commit is contained in:
parent
33dfc13672
commit
9c2c834603
1 changed files with 2 additions and 2 deletions
4
spcd.sh
4
spcd.sh
|
@ -715,7 +715,7 @@ spcd_install_python_modules() {
|
||||||
spcd_step "Install Python modules"
|
spcd_step "Install Python modules"
|
||||||
spcd_ipm__target="${SPCD_PYTHON_VENV_PACKAGES}"
|
spcd_ipm__target="${SPCD_PYTHON_VENV_PACKAGES}"
|
||||||
for spcd_ipm__repository in "${SPCD_GIT_MAIN}" "${SPCD_GIT_ROOT}"; do
|
for spcd_ipm__repository in "${SPCD_GIT_MAIN}" "${SPCD_GIT_ROOT}"; do
|
||||||
spcd_ipm__url="$(spcd_get_git_url "${spcd_ipm__repository}")"
|
spcd_ipm__url="$(spcd_git_url "${spcd_ipm__repository}")"
|
||||||
spcd_ipm__name="$(basename "${spcd_ipm__url}")"
|
spcd_ipm__name="$(basename "${spcd_ipm__url}")"
|
||||||
spcd_split
|
spcd_split
|
||||||
echo "\
|
echo "\
|
||||||
|
@ -880,7 +880,7 @@ spcd_error_os() {
|
||||||
exit "${SPCD_ERROR_OS}"
|
exit "${SPCD_ERROR_OS}"
|
||||||
}
|
}
|
||||||
|
|
||||||
spcd_get_git_url() {
|
spcd_git_url() {
|
||||||
if [ -n "${1}" ]; then
|
if [ -n "${1}" ]; then
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
http*) echo "${1}" ;;
|
http*) echo "${1}" ;;
|
||||||
|
|
Loading…
Reference in a new issue