From 5eaa285252512e705737fd5b8d20810b83671648 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 23 Jun 2024 23:44:26 +0200 Subject: [PATCH] git/names --- pidd.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pidd.sh b/pidd.sh index aa98d43..cfbc60b 100644 --- a/pidd.sh +++ b/pidd.sh @@ -618,11 +618,13 @@ pidd_install_python_modules () { 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}" ;; + /*) 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__name="\ +$(basename "${pidd_install_python_modules__url}")" pidd_split echo "\ ${pidd_install_python_modules__url} @@ -630,12 +632,12 @@ ${pidd_install_python_modules__url} git clone \ "${pidd_install_python_modules__url}" \ "${pidd_install_python_modules__root}\ -/${pidd_install_python_modules__repository}" \ +/${pidd_install_python_modules__name}" \ || exit pidd_install_python_modules__path="\ ${pidd_install_python_modules__root}\ -/${pidd_install_python_modules__repository}\ -/${pidd_install_python_modules__repository}" +/${pidd_install_python_modules__name}\ +/${pidd_install_python_modules__name}" echo "\ ${pidd_install_python_modules__path} ↓