scripts: Change here document delimiters

Fix the outstanding scripts using non standard shell here document delimiters.

This should have been caught by
https://github.com/kata-containers/tests/pull/3937, but there is a bug
in the checker which is fixed on
https://github.com/kata-containers/tests/pull/4569.

Fixes: #3864.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
James O. D. Hunt
2022-03-10 09:23:37 +00:00
parent 5a7fd943c1
commit 5d6d39be48
18 changed files with 60 additions and 60 deletions

View File

@@ -168,7 +168,7 @@ create_summary_file()
local -r agentdir="${script_dir}/../../../"
local -r agent_version=$(cat ${agentdir}/VERSION)
cat >"$file"<<-EOT
cat >"$file"<<-EOF
---
osbuilder:
url: "${osbuilder_url}"
@@ -190,7 +190,7 @@ ${extra}
name: "${AGENT_BIN}"
version: "${agent_version}"
agent-is-init-daemon: "${AGENT_INIT}"
EOT
EOF
local rootfs_file="${file_dir}/$(basename "${file}")"
info "Created summary file '${rootfs_file}' inside rootfs"