git/clone
This commit is contained in:
parent
7b2a026b1e
commit
8c9880693f
1 changed files with 2 additions and 2 deletions
|
@ -778,7 +778,7 @@ spcd_python_pip() {
|
||||||
if [ -n "${1}" ]; then
|
if [ -n "${1}" ]; then
|
||||||
local name path target
|
local name path target
|
||||||
name="$(basename "${1}")"
|
name="$(basename "${1}")"
|
||||||
path="$(spcd_git_clone "${1}")"
|
path="$(spcd_f_git_clone "${1}")"
|
||||||
path="${path}/${name}"
|
path="${path}/${name}"
|
||||||
target="${SPCD_PYTHON_VENV_PACKAGES}"
|
target="${SPCD_PYTHON_VENV_PACKAGES}"
|
||||||
cp --recursive "${path}" "${target}"
|
cp --recursive "${path}" "${target}"
|
||||||
|
@ -872,7 +872,7 @@ spcd_f_env_workspace() {
|
||||||
# │ f │ git │
|
# │ f │ git │
|
||||||
# ╰───┴─────╯
|
# ╰───┴─────╯
|
||||||
|
|
||||||
spcd_git_clone() {
|
spcd_f_git_clone() {
|
||||||
if [ -n "${1}" ]; then
|
if [ -n "${1}" ]; then
|
||||||
local name path url
|
local name path url
|
||||||
name="$(basename "${1}")"
|
name="$(basename "${1}")"
|
||||||
|
|
Loading…
Reference in a new issue