mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 18:23:15 +02:00
Fix bug in library-repos-install.sh.
This commit is contained in:
parent
22fb7dafba
commit
e511afdf0f
@ -123,7 +123,8 @@ detect_pretty_repos()
|
|||||||
|
|
||||||
# Use github API to list repos for org KiCad, then subset the JSON reply for only
|
# 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 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'`
|
| sed $SED_EREGEXP 's:.+ "full_name".*"KiCad/(.+\.pretty)",:\1:p;d'`
|
||||||
|
|
||||||
#echo "PRETTY_REPOS:$PRETTY_REPOS"
|
#echo "PRETTY_REPOS:$PRETTY_REPOS"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user