From f96e6c53d8786bcb11196d8180635d993765733d Mon Sep 17 00:00:00 2001 From: Julien Date: Tue, 21 Aug 2018 14:24:57 +0800 Subject: [PATCH] Fail to set the value in multiple lines refer to the log of Jenkins: https://build.opnfv.org/ci/view/pharos/job/ validate-pdf-jinja2-templates-master/326/console /home/jenkins-ci/opnfv/slave_root/workspace/ validate-pdf-jinja2-templates-master/config/utils/check-jinja2.sh: line 54: -i ./config/installers/apex: No such file or directory [GENERATE] [OK] [YAMLLINT] [OK] yamllint -s ./config/installers/apex/pod_config.yaml Change-Id: I13c220e7fba5355124ae2b41e7399140c5d92523 Signed-off-by: Julien --- config/utils/check-jinja2.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/utils/check-jinja2.sh b/config/utils/check-jinja2.sh index d42a2cde..1fcdb9a2 100755 --- a/config/utils/check-jinja2.sh +++ b/config/utils/check-jinja2.sh @@ -51,8 +51,8 @@ while IFS= read -r lab_config; do continue fi while IFS= read -r jinja_template; do - pdf_gen_cmd="${GEN_CFG} -y ${lab_config} -j ${jinja_template}" \ - "-i $(dirname "${jinja_template}")" + pdf_gen_cmd="${GEN_CFG} -y ${lab_config} -j ${jinja_template} \ + -i $(dirname "${jinja_template}")" if ${pdf_gen_cmd} > "${TMPF}"; then ((pdf_inst_pass+=1)) echo "[GENERATE] [OK] ${pdf_gen_cmd}" -- 2.16.6