[Bug 1168628] New: network:cluster/warewulf: Bug on vnfs-SUSE-Make-sure-no-repos-are-left-over-when-adding-a-list-of-repositories.patch
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.
http://bugzilla.opensuse.org/show_bug.cgi?id=1168628
http://bugzilla.opensuse.org/show_bug.cgi?id=1168628#c1
Christian Goll
http://bugzilla.opensuse.org/show_bug.cgi?id=1168628
Christian Goll
http://bugzilla.opensuse.org/show_bug.cgi?id=1168628
http://bugzilla.opensuse.org/show_bug.cgi?id=1168628#c2
--- Comment #2 from Ben Ma
http://bugzilla.opensuse.org/show_bug.cgi?id=1168628
http://bugzilla.opensuse.org/show_bug.cgi?id=1168628#c3
Christian Goll
http://bugzilla.opensuse.org/show_bug.cgi?id=1168628
http://bugzilla.opensuse.org/show_bug.cgi?id=1168628#c5
--- Comment #5 from OBSbugzilla Bot
http://bugzilla.opensuse.org/show_bug.cgi?id=1168628
http://bugzilla.opensuse.org/show_bug.cgi?id=1168628#c6
--- Comment #6 from OBSbugzilla Bot
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com