override locations

This commit is contained in:
Marc Beninca 2024-06-23 21:58:02 +02:00
parent 0a1330b58e
commit 4fb4f2a32e
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 9 additions and 3 deletions

10
pidd.sh
View file

@ -615,9 +615,17 @@ pidd_install_python_modules () {
echo "${pidd_install_python_modules__root}" echo "${pidd_install_python_modules__root}"
for pidd_install_python_modules__repository \ for pidd_install_python_modules__repository \
in "${PIDD_GIT_CHILD}" "${PIDD_GIT_PARENT}" ; do 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_install_python_modules__url="\
${PIDD_PROJECT_ROOT}/${PIDD_PROJECT_PATH}/${pidd_install_python_modules__repository}" ${PIDD_PROJECT_ROOT}/${PIDD_PROJECT_PATH}/${pidd_install_python_modules__repository}"
pidd_split
echo "\ echo "\
${pidd_install_python_modules__url} ${pidd_install_python_modules__url}
" "

View file

@ -93,7 +93,5 @@ from various contexts of CA, CI and OCI / OS.
### .sh ### .sh
* handle git cloning credentials
* override repository and framework locations
* reduce single conditions with && * reduce single conditions with &&
* support opensuse * support opensuse