Fix bug in library-repos-install.sh.

This commit is contained in:
Adam Wolfe 2015-11-24 16:53:15 -05:00 committed by Wayne Stambaugh
parent 22fb7dafba
commit e511afdf0f
1 changed files with 2 additions and 1 deletions

View File

@ -123,7 +123,8 @@ detect_pretty_repos()
# Use github API to list repos for org KiCad, then subset the JSON reply for only
# *.pretty repos in the "full_name" variable.
PRETTY_REPOS=`curl https://api.github.com/orgs/KiCad/repos?per_page=2000 2> /dev/null \
PRETTY_REPOS=`curl -s "https://api.github.com/orgs/KiCad/repos?per_page=99&page=1" \
"https://api.github.com/orgs/KiCad/repos?per_page=99&page=2" 2> /dev/null \
| sed $SED_EREGEXP 's:.+ "full_name".*"KiCad/(.+\.pretty)",:\1:p;d'`
#echo "PRETTY_REPOS:$PRETTY_REPOS"