download/coreboot: use global variables

i'm going to move the config recursion check
into a separate function, and global variables
make it easier to handle
fsdg20230625
Leah Rowe 2023-05-15 02:17:39 +01:00
parent 56b80c0a4c
commit 162f4bf5dd
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@
[ "x${DEBUG+set}" = 'xset' ] && set -v [ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e set -u -e
_board=""
cbtree=""
cbrevision=""
main() main()
{ {
if [ $# -eq 1 ] && [ "$1" = "--help" ] ; then if [ $# -eq 1 ] && [ "$1" = "--help" ] ; then