From 4fb4f2a32ea36e369e4607d77596cb1968110d75 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 23 Jun 2024 21:58:02 +0200 Subject: [PATCH] override locations --- pidd.sh | 10 +++++++++- readme.md | 2 -- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pidd.sh b/pidd.sh index 6276412..7f9acb1 100644 --- a/pidd.sh +++ b/pidd.sh @@ -615,9 +615,17 @@ pidd_install_python_modules () { echo "→ ${pidd_install_python_modules__root}" for pidd_install_python_modules__repository \ in "${PIDD_GIT_CHILD}" "${PIDD_GIT_PARENT}" ; do - pidd_split + case "${pidd_install_python_modules__repository}" in + http*) pidd_install_python_modules__url="\ +${pidd_install_python_modules__repository}" ;; + /*) pidd_install_python_modules__url="\ +${PIDD_PROJECT_ROOT}${pidd_install_python_modules__repository}" ;; + *) pidd_install_python_modules__url="\ +${PIDD_PROJECT_ROOT}/${PIDD_PROJECT_PATH}/${pidd_install_python_modules__repository}" ;; + esac pidd_install_python_modules__url="\ ${PIDD_PROJECT_ROOT}/${PIDD_PROJECT_PATH}/${pidd_install_python_modules__repository}" + pidd_split echo "\ ${pidd_install_python_modules__url} ↓" diff --git a/readme.md b/readme.md index 6b0a038..e9f57b2 100644 --- a/readme.md +++ b/readme.md @@ -93,7 +93,5 @@ from various contexts of CA, CI and OCI / OS. ### .sh -* handle git cloning credentials -* override repository and framework locations * reduce single conditions with && * support opensuse