mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 14:50:39 -04:00
Improve comment
This commit is contained in:
parent
4ef06e6443
commit
a64adf4b1d
1 changed files with 2 additions and 1 deletions
|
@ -213,7 +213,8 @@ printf "%s\n" "${repoUrls}" | while IFS= read -r repoUrl; do
|
||||||
# if the repo already exists, skip it (handled in the update above)
|
# if the repo already exists, skip it (handled in the update above)
|
||||||
[ -d "${repoName}" ] && continue
|
[ -d "${repoName}" ] && continue
|
||||||
|
|
||||||
# it's not clear what this is doing, or more specifically why it's doing it
|
# if the repository name has been truncated due to GitHub's name length limits,
|
||||||
|
# but a local clone with the full name exists, don't attempt to clone it again
|
||||||
repoNameLength=$(printf "%s" "${repoName}" | wc -m)
|
repoNameLength=$(printf "%s" "${repoName}" | wc -m)
|
||||||
if [ "${repoNameLength}" -ge 100 ]; then
|
if [ "${repoNameLength}" -ge 100 ]; then
|
||||||
if dirs=( "${repoName}"*/ ) && [[ -d ${dirs[0]} ]]; then
|
if dirs=( "${repoName}"*/ ) && [[ -d ${dirs[0]} ]]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue