From cdc039917d34357c9de8e49a9800b5f8c7f7bc35 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 30 Nov 2014 01:35:33 +0100 Subject: Ignore missing d-i-manual-pdf jobs for unsupported languages --- bin/d-i_check_jobs.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'bin') diff --git a/bin/d-i_check_jobs.sh b/bin/d-i_check_jobs.sh index de9e2e14..0814a144 100755 --- a/bin/d-i_check_jobs.sh +++ b/bin/d-i_check_jobs.sh @@ -95,6 +95,12 @@ for DIRECTORY in * ; do continue else for FORMAT in pdf html ; do + if [ $FORMAT = pdf ] ; then + # Some languages are unsupported in PDF + case $DIRECTORY in + el|ja|vi|zh_CN|zh_TW) continue ;; + esac + fi if [ ! -d ~jenkins/jobs/${DI_MANUAL_JOB_PATTERN}${DIRECTORY}_${FORMAT} ] ; then echo "Warning: No build job '${DI_MANUAL_JOB_PATTERN}${DIRECTORY}_${FORMAT}'." FAIL=true @@ -127,6 +133,12 @@ for DIRECTORY in * ; do continue else for FORMAT in pdf html ; do + if [ $FORMAT = pdf ] ; then + # Some languages are unsupported in PDF + case $DIRECTORY in + el|ja|vi|zh_CN|zh_TW) continue ;; + esac + fi if [ ! -d ~jenkins/jobs/${DI_MANUAL_JOB_PATTERN}${DIRECTORY}_${FORMAT} ] ; then echo "Warning: No build job '${DI_MANUAL_JOB_PATTERN}${DIRECTORY}_${FORMAT}'." FAIL=true -- cgit v1.2.3-70-g09d2