There was an error while loading. Please reload this page.
2 parents b6ebe63 + e8762da commit 9f928e1Copy full SHA for 9f928e1
1 file changed
code/worker.sh
@@ -507,8 +507,8 @@ sudo chmod a+x appstreamcli-x86_64.AppImage
507
# BB_USER=$(grep "^https://bitbucket.org.*" data/$INPUTBASENAME | cut -d '/' -f 4 )
508
# BB_REPO=$(grep "^https://bitbucket.org.*" data/$INPUTBASENAME | cut -d '/' -f 5 )
509
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 )
+ GH_USER=$(grep "^https://api.github.com.*" data/$INPUTBASENAME | cut -d '/' -f 5 ) || true
+ GH_REPO=$(grep "^https://api.github.com.*" data/$INPUTBASENAME | cut -d '/' -f 6 ) || true
512
fi
513
if [ x"$GH_USER" != x"" ] ; then
514
echo " - name: $GH_USER" >> apps/$INPUTBASENAME.md
0 commit comments