summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien <zhang.jun3g@zte.com.cn>2018-08-21 14:24:57 +0800
committerJulien <zhang.jun3g@zte.com.cn>2018-08-21 14:24:57 +0800
commitf96e6c53d8786bcb11196d8180635d993765733d (patch)
tree629656eb4f658ea100899fae0debdd6007cf38b0
parent406aac8b13ccb9d0d01c3daa8359a3903d937a9c (diff)
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 <zhang.jun3g@zte.com.cn>
-rwxr-xr-xconfig/utils/check-jinja2.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/utils/check-jinja2.sh b/config/utils/check-jinja2.sh
index d42a2cd..1fcdb9a 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}"