mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-15 22:53:43 +00:00
create-repo-branch.sh: Fix a typo
Fix a minor typo in create-repo-branch script. Fixes: #201 Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
This commit is contained in:
parent
356de607fa
commit
161bc07028
@ -62,7 +62,7 @@ read_maintainers(){
|
||||
while read -r p; do
|
||||
[[ "$p" != "#"* ]] || continue
|
||||
maintainers+=("${p}::maintainer")
|
||||
echo "Adding mantainer: ${p}"
|
||||
echo "Adding maintainer: ${p}"
|
||||
done < "${script_dir}/maintainers"
|
||||
}
|
||||
|
||||
@ -86,8 +86,8 @@ create_repos_xml_nodes() {
|
||||
done
|
||||
}
|
||||
|
||||
create_mantainers_xml_nodes() {
|
||||
for entry in "${mantainers[@]}"; do
|
||||
create_maintainers_xml_nodes() {
|
||||
for entry in "${maintainers[@]}"; do
|
||||
[ -z "$entry" ] && die "found empty entry"
|
||||
local userid=$(echo "$entry" | awk -F"::" '{print $1;}')
|
||||
local role=$(echo "$entry" | awk -F"::" '{print $2;}')
|
||||
@ -109,7 +109,7 @@ create_meta_xml() {
|
||||
<project name="${project}">
|
||||
<title>Branch project for Kata Containers branch ${branch}</title>
|
||||
<description>This project is the Kata Containers branch ${branch}</description>
|
||||
$(create_mantainers_xml_nodes)
|
||||
$(create_maintainers_xml_nodes)
|
||||
$(create_repos_xml_nodes)
|
||||
</project>
|
||||
EOT
|
||||
|
Loading…
Reference in New Issue
Block a user