Update worker.sh
This commit is contained in:
1 parent
3050be66f1
commit
402012b9fc
1 file changed
+1
-1
+1
-1
@@ -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 )
|
||||
|
||||
Reference in new issue
Block a user