mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-19 00:03:45 +02:00
roms: rename x variable to it in for loop
there are two for loops that use x as a variable anme, and an idiosyncrasy of certain sh implementations is that these become global; the result in this case was that when you finish building every target in "./build roms", it would print "libgfxinit" repeatedly, comma separated, instead of a comma-separated list of the targets that were built. work around it by renaming the variable in one of the loops. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+2
-2
@@ -173,8 +173,8 @@ build_board()
|
|||||||
{
|
{
|
||||||
x_ rm -Rf "$romdir"
|
x_ rm -Rf "$romdir"
|
||||||
|
|
||||||
for x in "normal" "vgarom" "libgfxinit"; do
|
for it in "normal" "vgarom" "libgfxinit"; do
|
||||||
initmode="$x"
|
initmode="$it"
|
||||||
hmode="vesafb"
|
hmode="vesafb"
|
||||||
[ "$initmode" = "vgarom" ] || hmode="corebootfb"
|
[ "$initmode" = "vgarom" ] || hmode="corebootfb"
|
||||||
modes="$hmode txtmode"
|
modes="$hmode txtmode"
|
||||||
|
|||||||
Reference in New Issue
Block a user