From 161bc07028d0e4d5bd0b12b65a5496e3cfa49a20 Mon Sep 17 00:00:00 2001 From: nitkon Date: Tue, 2 Oct 2018 15:05:25 +0530 Subject: [PATCH] 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 --- obs-packaging/create-repo-branch.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/obs-packaging/create-repo-branch.sh b/obs-packaging/create-repo-branch.sh index 6c0123d2f7..571c048304 100755 --- a/obs-packaging/create-repo-branch.sh +++ b/obs-packaging/create-repo-branch.sh @@ -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() { Branch project for Kata Containers branch ${branch} This project is the Kata Containers branch ${branch} -$(create_mantainers_xml_nodes) +$(create_maintainers_xml_nodes) $(create_repos_xml_nodes) EOT