summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2017-01-25 13:31:08 +0100
committerHolger Levsen <holger@layer-acht.org>2017-01-25 13:33:31 +0100
commitcfa73f082b5e2d30421df31473afc1fa918d5d92 (patch)
tree0df8e12cb2bd03816f124301d62ad6fab786c334
parentb34e0bd752b15aead215f334bf8570a39796ce3b (diff)
downloadjenkins.debian.net-cfa73f082b5e2d30421df31473afc1fa918d5d92.tar.xz
fixup! d-i: pass non_{po,pdf}_langs as params to aid checking manuals
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xbin/d-i_check_jobs.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/d-i_check_jobs.sh b/bin/d-i_check_jobs.sh
index 9c429fc0..2107cf4c 100755
--- a/bin/d-i_check_jobs.sh
+++ b/bin/d-i_check_jobs.sh
@@ -145,11 +145,11 @@ for DIRECTORY in * ; do
for FORMAT in pdf html ; do
# Some languages are unsupported in PDF
if [ $FORMAT = pdf ] &&
- expr match ${NON_PDF_LANGS} ".*\b${DIRECTORY}\b" >/dev/null ; then
+ expr match "${NON_PDF_LANGS}" ".*\b${DIRECTORY}\b" >/dev/null ; then
continue
fi
# we add a _po2xml suffix for all but the NON_PO_LANGS
- if ! expr match ${NON_PO_LANGS} ".*\b${DIRECTORY}\b" >/dev/null ; then
+ if ! expr match "${NON_PO_LANGS}" ".*\b${DIRECTORY}\b" >/dev/null ; then
FORMAT=${FORMAT}_po2xml
fi
if [ ! -d ~jenkins/jobs/${DI_MANUAL_JOB_PATTERN}${DIRECTORY}_${FORMAT} ] ; then