From ff15a7ae7bfbcb30cfbc6345636258212ea9d701 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 20 Jan 2018 22:30:19 +0100 Subject: [PATCH] OBS names have no ':' --- code/worker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/worker.sh b/code/worker.sh index 4152d170..06ad366f 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -343,7 +343,7 @@ for INPUTBASENAME in database/*; do 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 5 ) - OBS_USER=$(grep "^http.*://download.opensuse.org/repositories/home:/" data/$INPUTBASENAME | cut -d "/" -f 6) + OBS_USER=$(grep "^http.*://download.opensuse.org/repositories/home:/" data/$INPUTBASENAME | cut -d "/" -f 6 | sed -e 's|:||g') if [ x"$GH_USER" == x"" ] ; 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 )