http://bugzilla.opensuse.org/show_bug.cgi?id=1168628 Bug ID: 1168628 Summary: network:cluster/warewulf: Bug on vnfs-SUSE-Make-sure-no-repos-are-left-over-when-adding -a-list-of-repositories.patch Classification: openSUSE Product: openSUSE.org Version: unspecified Hardware: Other OS: openSUSE Factory Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software Assignee: burnus@gmx.de Reporter: runappz@gmail.com QA Contact: bnc-team-screening@forge.provo.novell.com CC: eich@suse.com, scorot@free.fr Found By: --- Blocker: --- Reused $i in bash script, which was firstly declared as number and then as string. The following patch should fix this. --- vnfs-SUSE-Make-sure-no-repos-are-left-over-when-adding-a-list-of-repositories.patch +++ vnfs-SUSE-Make-sure-no-repos-are-left-over-when-adding-a-list-of-repositories.patch.new @@ -38,8 +38,8 @@ + done + + cnt=0 -+ for i in `echo $ZYP_MIRROR | sed -e 's/,/ /'`; do -+ $ZYP_CMD ar $i repo-$((cnt++)) ++ for repourl in `echo $ZYP_MIRROR | sed -e 's/,/ /'`; do ++ $ZYP_CMD ar $repourl repo-$((cnt++)) + done + fi + -- You are receiving this mail because: You are on the CC list for the bug.