build/grub/*: move common strings to variables

also general cleanup of these scripts

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-09-25 03:06:43 +01:00
parent e94ba1f7c0
commit 42c9d7d28c
2 changed files with 22 additions and 23 deletions
-1
View File
@@ -10,7 +10,6 @@ set -u -e
main()
{
printf "Building GRUB\n"
[ -d "grub/" ] || ./update project repo grub || err "cannot fetch grub"
build_grub
}