mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-17 07:27:22 +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
|
while read -r p; do
|
||||||
[[ "$p" != "#"* ]] || continue
|
[[ "$p" != "#"* ]] || continue
|
||||||
maintainers+=("${p}::maintainer")
|
maintainers+=("${p}::maintainer")
|
||||||
echo "Adding mantainer: ${p}"
|
echo "Adding maintainer: ${p}"
|
||||||
done < "${script_dir}/maintainers"
|
done < "${script_dir}/maintainers"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -86,8 +86,8 @@ create_repos_xml_nodes() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
create_mantainers_xml_nodes() {
|
create_maintainers_xml_nodes() {
|
||||||
for entry in "${mantainers[@]}"; do
|
for entry in "${maintainers[@]}"; do
|
||||||
[ -z "$entry" ] && die "found empty entry"
|
[ -z "$entry" ] && die "found empty entry"
|
||||||
local userid=$(echo "$entry" | awk -F"::" '{print $1;}')
|
local userid=$(echo "$entry" | awk -F"::" '{print $1;}')
|
||||||
local role=$(echo "$entry" | awk -F"::" '{print $2;}')
|
local role=$(echo "$entry" | awk -F"::" '{print $2;}')
|
||||||
@ -109,7 +109,7 @@ create_meta_xml() {
|
|||||||
<project name="${project}">
|
<project name="${project}">
|
||||||
<title>Branch project for Kata Containers branch ${branch}</title>
|
<title>Branch project for Kata Containers branch ${branch}</title>
|
||||||
<description>This project is the Kata Containers branch ${branch}</description>
|
<description>This project is the Kata Containers branch ${branch}</description>
|
||||||
$(create_mantainers_xml_nodes)
|
$(create_maintainers_xml_nodes)
|
||||||
$(create_repos_xml_nodes)
|
$(create_repos_xml_nodes)
|
||||||
</project>
|
</project>
|
||||||
EOT
|
EOT
|
||||||
|
Loading…
Reference in New Issue
Block a user