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} ↓