summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbertagaz <bertagaz@ptitcanardnoir.org>2015-12-12 11:27:21 +0100
committerbertagaz <bertagaz@ptitcanardnoir.org>2015-12-12 11:27:21 +0100
commit44721ed31a7e8ffd15d4f69dea3e9e9cb2817ac6 (patch)
treec538427227e642675f74803b55bfe862b530db5a
parentc3596faf3241fc17b79ee9edcac8811ac901fe65 (diff)
`local` evaluates the content of the variable and returns an error if it is not quoted correctly. Refs: #10707
-rw-r--r--files/jenkins/slaves/isotesters/wrap_test_suite6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/jenkins/slaves/isotesters/wrap_test_suite b/files/jenkins/slaves/isotesters/wrap_test_suite
index 74ccf6c..b2f53e2 100644
--- a/files/jenkins/slaves/isotesters/wrap_test_suite
+++ b/files/jenkins/slaves/isotesters/wrap_test_suite
@@ -39,14 +39,14 @@ get_last_released_iso() {
only_changes_doc() {
local upstreamjob_git_base_branch_head="$1"
- local base_branch_non_doc_diff=$(git diff \
- "$upstreamjob_git_base_branch_head..." \
+ local base_branch_non_doc_diff="$(git diff \
+ $upstreamjob_git_base_branch_head... \
-- \
'*' \
':!/wiki' \
':!/ikiwiki.setup' \
':!/ikiwiki-cgi.setup' \
- ':!*.po')
+ ':!*.po')"
[ -z "${base_branch_non_doc_diff}" ]
}