We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aaed42f commit cacc3b7Copy full SHA for cacc3b7
bash/bootable/grub.sh
@@ -1,8 +1,10 @@
1
#!/usr/bin/env bash
2
3
function list_bootable_grub() {
4
+ : "${bootable_info['BOOTABLE_ID']:?"bootable_info['BOOTABLE_ID'] is unset"}"
5
declare -g -A bootable_boards=()
- bootable_boards["generic"]="NOT=used" # A single, generic "board" for all grub bootables
6
+ declare board_name="${bootable_info['BOOTABLE_ID']}-generic"
7
+ bootable_boards["${board_name}"]="NOT=used" # A single, generic "board" for all grub bootables
8
}
9
10
function build_bootable_grub() {
0 commit comments