summaryrefslogtreecommitdiff
path: root/resources/scripts/download
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-05-15 02:17:39 +0100
committerLeah Rowe <leah@libreboot.org>2023-05-15 02:17:39 +0100
commit162f4bf5ddd5edb584c2821cad16230e0fee2ed0 (patch)
tree69c8d0323e303078eac582202288f06ca37e9804 /resources/scripts/download
parent56b80c0a4c806d97a3e6103378d03563c4164525 (diff)
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
Diffstat (limited to 'resources/scripts/download')
-rwxr-xr-xresources/scripts/download/coreboot4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/scripts/download/coreboot b/resources/scripts/download/coreboot
index 45af272a..ec99a26f 100755
--- a/resources/scripts/download/coreboot
+++ b/resources/scripts/download/coreboot
@@ -26,6 +26,10 @@
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
+_board=""
+cbtree=""
+cbrevision=""
+
main()
{
if [ $# -eq 1 ] && [ "$1" = "--help" ] ; then