summaryrefslogtreecommitdiff
path: root/include/inject.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-10-16 15:46:44 +0100
committerLeah Rowe <leah@libreboot.org>2025-10-16 15:46:44 +0100
commite1b6ccf69ec42f24d751466cee00b265fe44e899 (patch)
treeb6c8ba5159943a84a8159cf827d6fff82fce9a8f /include/inject.sh
parentd84a556bf084b4622cf389847ee3f888bb4dbbe5 (diff)
xbmk: sort global variables alphabetically
also separate some of the special ones. this makes the variables easier to read/find. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/inject.sh')
-rw-r--r--include/inject.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/inject.sh b/include/inject.sh
index 90528ac0..ee3df6af 100644
--- a/include/inject.sh
+++ b/include/inject.sh
@@ -18,13 +18,13 @@ if [ -n "$checkvarschk" ]; then
fi
archive=""
+board=""
boarddir=""
IFD_platform=""
ifdprefix=""
-tree=""
new_mac=""
tmpromdir=""
-board=""
+tree=""
xchanged=""
eval "`setvars "" $checkvars`"
@@ -37,13 +37,13 @@ inject()
err "No options specified" "inject" "$@"
fi
- nuke=""
- new_mac=""
- xchanged=""
-
archive="$1";
new_mac="xx:xx:xx:xx:xx:xx"
+ new_mac=""
+ nuke=""
+ xchanged=""
+
[ $# -gt 1 ] && case "$2" in
nuke)
new_mac=""