summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dist/libiquity.sh4
-rw-r--r--src/dist/libreboot.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/dist/libiquity.sh b/src/dist/libiquity.sh
index e6acd46..ca9b39e 100644
--- a/src/dist/libiquity.sh
+++ b/src/dist/libiquity.sh
@@ -118,7 +118,7 @@ dist_libiquity_get_rom_taurinus_201506()
done <<-EOF
$(unxz -c "${archive}" | tar -t)
EOF
- i=$(show_menu 'Select keymap' ${keymaps})
+ i=$(show_menu 'Select keymap' $(printf '%s\n' ${keymaps} | sort))
i=$(($i + 1))
rom="$(printf '%s ' ${keymaps} | cut -d ' ' -f ${i})"
rom="${dir}/${board}_${rom}_vesafb.rom"
@@ -189,7 +189,7 @@ dist_libiquity_get_rom_current()
done <<-EOF
$(unxz -c "${archive}" | tar -t)
EOF
- i=$(show_menu 'Select keymap' ${keymaps})
+ i=$(show_menu 'Select keymap' $(printf '%s\n' ${keymaps} | sort))
i=$(($i + 1))
rom="$(printf '%s ' ${keymaps} | cut -d ' ' -f ${i})"
rom="${dir}/${board}_${rom}_vesafb.rom"
diff --git a/src/dist/libreboot.sh b/src/dist/libreboot.sh
index 5ddcb8a..4d77075 100644
--- a/src/dist/libreboot.sh
+++ b/src/dist/libreboot.sh
@@ -132,7 +132,7 @@ dist_libreboot_get_rom_20150518()
done <<-EOF
$(unxz -c "${archive}" | tar -t)
EOF
- i=$(show_menu 'Select keymap' ${keymaps})
+ i=$(show_menu 'Select keymap' $(printf '%s\n' ${keymaps} | sort))
i=$(($i + 1))
rom="$(printf '%s ' ${keymaps} | cut -d ' ' -f ${i})"
rom="${dir}/${board}_${rom}_vesafb.rom"
@@ -203,7 +203,7 @@ dist_libreboot_get_rom_current()
done <<-EOF
$(unxz -c "${archive}" | tar -t)
EOF
- i=$(show_menu 'Select keymap' ${keymaps})
+ i=$(show_menu 'Select keymap' $(printf '%s\n' ${keymaps} | sort))
i=$(($i + 1))
rom="$(printf '%s ' ${keymaps} | cut -d ' ' -f ${i})"
rom="${dir}/${board}_${rom}_vesafb.rom"