Skip to content
Permalink
Browse files

Remove .git prefix from cloning

  • Loading branch information
FlorianSW committed Nov 21, 2019
1 parent 095df7e commit 9ab2094e255f6ef5da7dab5e7b68567bda241f23
Showing with 2 additions and 2 deletions.
  1. +2 −2 clone-list.sh
@@ -24,9 +24,9 @@ do
name=${UPDATE_INFO[0]}
version=${UPDATE_INFO[1]}
branchPath=${UPDATE_INFO[2]:-$2}
git clone --recurse-submodules -q --depth 1 $branchPath$name.git --branch $version --single-branch $name
git clone --recurse-submodules -q --depth 1 $branchPath$name --branch $version --single-branch $name
else
git clone --recurse-submodules -q --depth 1 $2$name.git --branch $GIT_BRANCH --single-branch $name
git clone --recurse-submodules -q --depth 1 $2$name --branch $GIT_BRANCH --single-branch $name
fi
rc=$?; if [[ $rc != 0 ]]; then echo "Error in update.sh script"; exit $rc; fi
done < $1

0 comments on commit 9ab2094

Please sign in to comment.
You can’t perform that action at this time.