From 402012b9fcce88bbe5f934e1a78ccbb219c7c597 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 19 Aug 2017 23:42:41 +0200 Subject: [PATCH] Update worker.sh --- code/worker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )