From 3d6d34bbfcd51e16bc24b7114013c36461c5a492 Mon Sep 17 00:00:00 2001 From: Max Lin Date: Thu, 17 Nov 2016 00:50:04 +0800 Subject: [PATCH] Better and complete way against a6c679d7 --- create_test_dvds.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/create_test_dvds.sh b/create_test_dvds.sh index 807df24a..bfcce915 100755 --- a/create_test_dvds.sh +++ b/create_test_dvds.sh @@ -149,14 +149,16 @@ function start_creating() { for prj in $projects; do l=$(echo $prj | sed 's/^openSUSE.\+[:]Staging/Staging/g' | cut -d: -f2) - - if [[ $prj =~ ^openSUSE.+:[A-Z]$ ]]; then + if [[ $prj =~ ^openSUSE.+:[A-Z]$ ]] || [[ $prj =~ ^openSUSE.+:[A-Z]:DVD$ ]]; then # if the testdvd build is disabled, do not regenerate the pacakges list and go to next staging project testdvd_disabled=$(osc api "/build/openSUSE:$target:Staging:$l/_result?view=summary&package=Test-DVD-$arch&repository=images" | grep 'statuscount code="disabled"' || true) if [ -n "$testdvd_disabled" ]; then + echo "Skips openSUSE:$target:Staging:$l due to the testdvd build is disabled" continue fi + fi + if [[ $prj =~ ^openSUSE.+:[A-Z]$ ]]; then echo "Checking $target:$l-$arch" meta=$(mktemp)