path
This commit is contained in:
parent
8262d30eb1
commit
dce423f5fd
@ -10,7 +10,7 @@ repo_clone() {
|
|||||||
suffix=".git"
|
suffix=".git"
|
||||||
mkdir -p "${output_path%"$suffix"}"
|
mkdir -p "${output_path%"$suffix"}"
|
||||||
|
|
||||||
if [ ! -d "$output_path/.git" ]; then
|
if [ ! -d "${output_path%"$suffix"}/.git" ]; then
|
||||||
repourl=$(echo "$repo_prefix@$cleaned" | sed -e "s/\//:/1")
|
repourl=$(echo "$repo_prefix@$cleaned" | sed -e "s/\//:/1")
|
||||||
echo "Cloning $repourl to ${output_path%"$suffix"}..."
|
echo "Cloning $repourl to ${output_path%"$suffix"}..."
|
||||||
git clone "$repourl" "${output_path%"$suffix"}"
|
git clone "$repourl" "${output_path%"$suffix"}"
|
||||||
|
Loading…
Reference in New Issue
Block a user