diff --git a/code/worker.sh b/code/worker.sh index 0e1e77dc..29b5be7b 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -285,7 +285,7 @@ for INPUTBASENAME in database/*; do echo "" >> apps/$INPUTBASENAME.md echo "authors:" >> apps/$INPUTBASENAME.md GH_USER=$(grep "^https://github.com.*" data/$INPUTBASENAME | cut -d '/' -f 4 ) - GH_REPO=$(grep "^https://github.com.*" data/$INPUTBASENAME | cut -d '/' -f 4 ) + GH_REPO=$(grep "^https://github.com.*" data/$INPUTBASENAME | cut -d '/' -f 5 ) if [ "$GH_USER" == "" ] ; then GH_USER=$(grep "^https://api.github.com.*" data/$INPUTBASENAME | cut -d '/' -f 5 ) GH_REPO=$(grep "^https://api.github.com.*" data/$INPUTBASENAME | cut -d '/' -f 6 )