Skip to content

Commit 9f928e1

Browse files
authored
Merge branch 'master' into add-jssysinfo
2 parents b6ebe63 + e8762da commit 9f928e1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

code/worker.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,8 +507,8 @@ sudo chmod a+x appstreamcli-x86_64.AppImage
507507
# BB_USER=$(grep "^https://bitbucket.org.*" data/$INPUTBASENAME | cut -d '/' -f 4 )
508508
# BB_REPO=$(grep "^https://bitbucket.org.*" data/$INPUTBASENAME | cut -d '/' -f 5 )
509509
if [ x"$GH_USER" == x"" ] ; then
510-
GH_USER=$(grep "^https://api.github.com.*" data/$INPUTBASENAME | cut -d '/' -f 5 )
511-
GH_REPO=$(grep "^https://api.github.com.*" data/$INPUTBASENAME | cut -d '/' -f 6 )
510+
GH_USER=$(grep "^https://api.github.com.*" data/$INPUTBASENAME | cut -d '/' -f 5 ) || true
511+
GH_REPO=$(grep "^https://api.github.com.*" data/$INPUTBASENAME | cut -d '/' -f 6 ) || true
512512
fi
513513
if [ x"$GH_USER" != x"" ] ; then
514514
echo " - name: $GH_USER" >> apps/$INPUTBASENAME.md

0 commit comments

Comments
 (0)